-
Type:
Bug
-
Resolution: Done
-
Priority:
Minor
-
None
-
Affects Version/s: None
-
Environment:
Windows 7 64 Bit Java 8
-
This server is running CraftBukkit version git-Spigot-baafee9-043d31d (MC: 1.14.2) (Implementing API version 1.14.2-R0.1-SNAPSHOT)
-
Traincarts, Light Cleaner
-
Yes
Since MC 1.14 the ChunkUnloadEvent setCancelled method has disappeared. This is breaking a number of plugins of mine, most importantly Traincarts' keep chunks loaded logic for minecarts.
Will this feature return? If not, what will replace it so I can stop chunks from unloading when they must stay loaded? I have not seen an official update explaining this.
I'm well-aware that the asynchronous-driven chunk loading system broke a lot of stuff. I need to know whether I need to mess with NMS myself to emulate this feature or that developers are actively working on fixing this.
[17:45:04 ERROR]: Could not pass event ChunkUnloadEvent to Train_Carts v1.14.2-v1-SNAPSHOT java.lang.NoSuchMethodError: org.bukkit.event.world.ChunkUnloadEvent.setCancelled(Z)V > at com.bergerkiller.bukkit.tc.TCListener.onChunkUnloadLow(TCListener.java:148) ~[?:?]