LyTreeHelper

5.5k Downloads

Timed drops are not accepted from other threads by NoLagg

DarkLiKally opened this issue ยท 0 comments

commented

07:21:06 [WARNING] Could not properly handle event ITEM_SPAWN:
java.lang.IllegalAccessError: Synchronized code got accessed from another thread: net.darklikally.lytreehelper.utils.TimedDrops
at org.bukkit.event.Listener.onItemSpawn(Listener:0)
at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460)
at org.bukkit.craftbukkit.event.CraftEventFactory.callItemSpawnEvent(CraftEventFactory.java:252)
at net.minecraft.server.World.addEntity(World.java:892)
at net.minecraft.server.World.addEntity(World.java:862)
at org.bukkit.craftbukkit.CraftWorld.dropItem(CraftWorld.java:304)
at org.bukkit.craftbukkit.CraftWorld.dropItemNaturally(CraftWorld.java:318)
at net.darklikally.lytreehelper.utils.TreeDropManager.dropItemNaturally(TreeDropManager.java:158)
at net.darklikally.lytreehelper.utils.TreeDropManager.dropTimedDrops(TreeDropManager.java:118)
at net.darklikally.lytreehelper.utils.TimedDrops.run(TimedDrops.java:67)
at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
07:21:06 [INFO] This error is logged only once: it could have occurred multiple times by now.