Pressing non lift button results in error
croxis opened this issue ยท 1 comments
01:15:24 [SEVERE] Could not pass event REDSTONE_CHANGE to Lift
java.util.NoSuchElementException
at java.util.TreeMap.key(TreeMap.java:1221)
at java.util.TreeMap.lastKey(TreeMap.java:292)
at net.croxis.plugins.lift.Elevator.getTotalFloors(Elevator.java:189)
at net.croxis.plugins.lift.LiftRedstoneListener.onBlockRedstoneChange(LiftRedstoneListener.java:27)
at org.bukkit.plugin.java.JavaPluginLoader$38.execute(JavaPluginLoader.java:520)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at net.minecraft.server.BlockButton.interact(BlockButton.java:142)
at net.minecraft.server.BlockButton.b(BlockButton.java:125)
at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:119)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:497)
at net.minecraft.server.Packet14BlockDig.a(SourceFile:43)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)