-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
Windows 11
Java(TM) SE Runtime Environment (build 19.0.1+10-21)
Java HotSpot(TM) 64-Bit Server VM (build 19.0.1+10-21, mixed mode, sharing)Plugins (9): LuckPerms, PlaceholderAPI, Multiverse-Core, ProtocolLib, CYG, Citizens, NametagEdit, LPC, CitizensCMD
Where CYG is my plugins from which i try to create a world
PlaceholderAPI (2.11.3-DEV-160)
Multiverse-Core Version: 4.3.1-b861
ProtocolLib v5.0.0-SNAPSHOT-b606
Citizens 2.0.30-b2802
CitizensCMD 2.6.6
LuckPerms-Bukkit 5.4.55Windows 11 Java(TM) SE Runtime Environment (build 19.0.1+10-21) Java HotSpot(TM) 64-Bit Server VM (build 19.0.1+10-21, mixed mode, sharing) Plugins (9): LuckPerms, PlaceholderAPI, Multiverse-Core, ProtocolLib, CYG, Citizens, NametagEdit, LPC, CitizensCMD Where CYG is my plugins from which i try to create a world PlaceholderAPI (2.11.3-DEV-160) Multiverse-Core Version: 4.3.1-b861 ProtocolLib v5.0.0-SNAPSHOT-b606 Citizens 2.0.30-b2802 CitizensCMD 2.6.6 LuckPerms-Bukkit 5.4.55
-
CraftBukkit version dev-Spigot-d90018e-585ab5b (MC: 1.19.3) (Implementing API version 1.19.3-R0.1-SNAPSHOT)
-
Yes
When i use the WorldCreator and/or MultiverseCore to create a world it sometimes returns me this error :
[22:41:43] [Server thread/ERROR]: Failed to save chunk 6,-10 java.lang.NullPointerException: Cannot invoke "net.minecraft.resources.MinecraftKey.toString()" because "minecraftkey1" is null at net.minecraft.world.level.chunk.storage.ChunkRegionLoader.a(ChunkRegionLoader.java:575) ~[spigot-1.19.3-R0.1-SNAPSHOT.jar:3625-Spigot-d90018e-585ab5b] at net.minecraft.world.level.chunk.storage.ChunkRegionLoader.a(ChunkRegionLoader.java:486) ~[spigot-1.19.3-R0.1-SNAPSHOT.jar:3625-Spigot-d90018e-585ab5b] at net.minecraft.server.level.PlayerChunkMap.b(PlayerChunkMap.java:928) ~[spigot-1.19.3-R0.1-SNAPSHOT.jar:3625-Spigot-d90018e-585ab5b] at net.minecraft.server.level.PlayerChunkMap.d(PlayerChunkMap.java:893) ~[spigot-1.19.3-R0.1-SNAPSHOT.jar:3625-Spigot-d90018e-585ab5b] at net.minecraft.server.level.PlayerChunkMap.b(PlayerChunkMap.java:562) ~[spigot-1.19.3-R0.1-SNAPSHOT.jar:3625-Spigot-d90018e-585ab5b] at net.minecraft.server.level.PlayerChunkMap.a(PlayerChunkMap.java:524) ~[spigot-1.19.3-R0.1-SNAPSHOT.jar:3625-Spigot-d90018e-585ab5b] at net.minecraft.server.level.ChunkProviderServer.a(ChunkProviderServer.java:391) ~[spigot-1.19.3-R0.1-SNAPSHOT.jar:3625-Spigot-d90018e-585ab5b] at net.minecraft.server.level.WorldServer.a(WorldServer.java:382) ~[spigot-1.19.3-R0.1-SNAPSHOT.jar:3625-Spigot-d90018e-585ab5b] at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1296) ~[spigot-1.19.3-R0.1-SNAPSHOT.jar:3625-Spigot-d90018e-585ab5b] at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:388) ~[spigot-1.19.3-R0.1-SNAPSHOT.jar:3625-Spigot-d90018e-585ab5b] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1203) ~[spigot-1.19.3-R0.1-SNAPSHOT.jar:3625-Spigot-d90018e-585ab5b] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1019) ~[spigot-1.19.3-R0.1-SNAPSHOT.jar:3625-Spigot-d90018e-585ab5b] at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:302) ~[spigot-1.19.3-R0.1-SNAPSHOT.jar:3625-Spigot-d90018e-585ab5b] at java.lang.Thread.run(Thread.java:1589) ~[?:?]
Sometimes it just create an empty world, where there is only void and mca regions files are just empty at 0bytes.
Even if i try to generate a world using Multiverse-Core from commands i get a void world/failed to save chunks.
I don't know if it's spigot related or a plugin. But without any plugins and only Multiverse-Core on a raw server it does the same.
Here also is the code i use to create a world in my plugin :
WorldCreator worldCreator = new WorldCreator(player.getUniqueId().toString() + "_" + index); worldCreator.environment(environment); worldCreator.type(worldType); worldCreator.generateStructures(generateStructure); World world = worldCreator.createWorld();