Lift

585k Downloads

Error when lift is operated

Septango opened this issue ยท 1 comments

commented

17:46:48 [SEVERE] Could not pass event org.bukkit.event.block.BlockRedstoneEvent
to Lift
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.
java:1026)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
a:57)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
ava:453)
at net.minecraft.server.BlockButton.interact(BlockButton.java:142)
at net.minecraft.server.BlockButton.attack(BlockButton.java:125)
at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:1
23)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:507)
at net.minecraft.server.Packet14BlockDig.handle(SourceFile:43)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:7
8)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.
java:1024)
... 13 more
Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftItem
cannot be cast to org.bukkit.entity.LivingEntity
at net.croxis.plugins.lift.LiftRedstoneListener.onBlockRedstoneChange(Li
ftRedstoneListener.java:81)
... 18 more

commented

There was a non living entity (dropped item probably) in the elevator shaft. Make sure it isn't there. I've added a fix for the next version