Could not pass event ChunkUnloadEvent to nightcore v2.6.2
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:601) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:588) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?]
at net.minecraft.world.level.chunk.Chunk.unloadCallback(Chunk.java:590) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4261-Spigot-491f367-aceddcd]
at net.minecraft.server.level.PlayerChunk.lambda$updateFutures$7(PlayerChunk.java:324) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4261-Spigot-491f367-aceddcd]
at net.minecraft.server.level.PlayerChunkMap$CallbackExecutor.run(PlayerChunkMap.java:167) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4261-Spigot-491f367-aceddcd]
at net.minecraft.server.level.PlayerChunk.a(PlayerChunk.java:334) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4261-Spigot-491f367-aceddcd]
at net.minecraft.server.level.ChunkMapDistance.lambda$runAllUpdates$1(ChunkMapDistance.java:128) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4261-Spigot-491f367-aceddcd]
at java.base/java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
at net.minecraft.server.level.ChunkMapDistance.a(ChunkMapDistance.java:127) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4261-Spigot-491f367-aceddcd]
at net.minecraft.server.level.ChunkProviderServer.s(ChunkProviderServer.java:290) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4261-Spigot-491f367-aceddcd]
at net.minecraft.server.level.ChunkProviderServer.a(ChunkProviderServer.java:348) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4261-Spigot-491f367-aceddcd]
at net.minecraft.server.level.WorldServer.a(WorldServer.java:412) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4261-Spigot-491f367-aceddcd]
at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:1472) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4261-Spigot-491f367-aceddcd]
at net.minecraft.server.dedicated.DedicatedServer.c(DedicatedServer.java:406) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4261-Spigot-491f367-aceddcd]
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1321) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4261-Spigot-491f367-aceddcd]
at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1071) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4261-Spigot-491f367-aceddcd]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4261-Spigot-491f367-aceddcd]
at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
Caused by: java.lang.IllegalStateException: Chunk not there when requested: Unloaded chunk
at net.minecraft.server.level.ChunkProviderServer.a(ChunkProviderServer.java:156) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4261-Spigot-491f367-aceddcd]
at net.minecraft.world.level.World.a(World.java:298) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4261-Spigot-491f367-aceddcd]
at net.minecraft.world.level.IWorldReader.a(SourceFile:156) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4261-Spigot-491f367-aceddcd]
at org.bukkit.craftbukkit.v1_21_R1.CraftChunk.getHandle(CraftChunk.java:87) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4261-Spigot-491f367-aceddcd]
at org.bukkit.craftbukkit.v1_21_R1.CraftChunk.getPersistentDataContainer(CraftChunk.java:358) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4261-Spigot-491f367-aceddcd]
at su.nightexpress.nightcore.util.blocktracker.TrackedWorld.terminateChunk(TrackedWorld.java:49) ~[?:?]
at su.nightexpress.nightcore.util.blocktracker.PlayerBlockTracker.terminateChunk(PlayerBlockTracker.java:72) ~[?:?]
at su.nightexpress.nightcore.util.blocktracker.TrackListener.onUnload(TrackListener.java:46) ~[?:?]
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[?:?]
at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[?:?]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?]
... 19 more
- duplicates
-
SPIGOT-7780 Set block during chunk unload: "Chunk not there when requested: Unloaded chunk"
-
- Open
-