
"Could not pass event ChunkUnloadEvent to FarmControl v1.3.0" on Spigot 1.21.4
DefinitelyRus opened this issue ยท 0 comments
I have been seeing this error pop up in my console, usually followed by a crash. Though it seems the game still saves right before it forcibly shuts down the server.
The plugins I have installed that might be related to the issue from what little I could deduce are Hibernate and LetUrMemoryRest. However, I have seen the same kind of error from this plugin prior to when I installed those two, both of which have been functioning perfectly so far.
[Server Thread/ERROR]: Could not pass event ChunkUnloadEvent to FarmControl v1.3.0
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-api-1.21.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-api-1.21.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:601) ~[spigot-api-1.21.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:588) ~[spigot-api-1.21.4-R0.1-SNAPSHOT.jar:?]
at net.minecraft.world.level.chunk.Chunk.unloadCallback(Chunk.java:625) ~[spigot-1.21.4.jar:4457-Spigot-73860e0-f0c8dd3]
at net.minecraft.server.level.PlayerChunk.lambda$callEventIfUnloading$7(PlayerChunk.java:341) ~[spigot-1.21.4.jar:4457-Spigot-73860e0-f0c8dd3]
at net.minecraft.server.level.PlayerChunkMap$CallbackExecutor.run(PlayerChunkMap.java:171) ~[spigot-1.21.4.jar:4457-Spigot-73860e0-f0c8dd3]
at net.minecraft.server.level.PlayerChunk.a(PlayerChunk.java:429) ~[spigot-1.21.4.jar:4457-Spigot-73860e0-f0c8dd3]
at net.minecraft.server.level.ChunkMapDistance.a(ChunkMapDistance.java:139) ~[spigot-1.21.4.jar:4457-Spigot-73860e0-f0c8dd3]
at net.minecraft.server.level.ChunkProviderServer.s(ChunkProviderServer.java:304) ~[spigot-1.21.4.jar:4457-Spigot-73860e0-f0c8dd3]
at net.minecraft.server.level.ChunkProviderServer.c(ChunkProviderServer.java:261) ~[spigot-1.21.4.jar:4457-Spigot-73860e0-f0c8dd3]
at net.minecraft.server.level.ChunkProviderServer.a(ChunkProviderServer.java:160) ~[spigot-1.21.4.jar:4457-Spigot-73860e0-f0c8dd3]
at net.minecraft.world.level.World.a(World.java:299) ~[spigot-1.21.4.jar:4457-Spigot-73860e0-f0c8dd3]
at org.bukkit.craftbukkit.v1_21_R3.CraftWorld.getChunkAt(CraftWorld.java:228) ~[spigot-1.21.4.jar:4457-Spigot-73860e0-f0c8dd3]
at org.bukkit.craftbukkit.v1_21_R3.CraftChunk.getEntities(CraftChunk.java:127) ~[spigot-1.21.4.jar:4457-Spigot-73860e0-f0c8dd3]
at com.froobworld.farmcontrol.controller.CompatibilityListener.onChunkUnload(CompatibilityListener.java:66) ~[?:?]
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[?:?]
at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[?:?]
[EXCEPTION MESSAGE REPEATS ENDLESSLY. LOOKS LIKE RECURSION?]
Here's the latest crash report:
crash-2025-03-27_23.08.07-server.txt
I'm not 100% sure if this is caused by the plugin, but it's been strangely consistent that FarmControl is seen in the crash reports whenever a crash does happen. Let me know if you need more details regarding this. I'd be happy to help. :)