Lift

585k Downloads

Could not pass event BlockRedstoneEvent to Lift

bitWolfy opened this issue ยท 3 comments

commented

Just saw an error in the console:

2012-03-05 10:49:49 [SEVERE] Could not pass event BlockRedstoneEvent to Lift

org.bukkit.event.EventException

    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)

    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)

    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:441)

    at net.minecraft.server.BlockButton.interact(BlockButton.java:142)

    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:294)

    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:634)

    at net.minecraft.server.Packet15Place.handle(SourceFile:39)

    at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)

    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:112)

    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)

    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)

    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)

    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)

Caused by: java.lang.ArrayIndexOutOfBoundsException: 0

    at net.croxis.plugins.lift.LiftRedstoneListener.onBlockRedstoneChange(LiftRedstoneListener.java:41)

    at sun.reflect.GeneratedMethodAccessor115.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:301)

    ... 12 more

I am not sure what causes it, but there are around 5 errors just like this one in a row.

commented

I need craftbukkit's version and your lift plugin version

commented

Craftbukkit build #2036
Lift 9

commented

The error is mostly harmless. That part of the code is checking to see if that elevator is currently in use. I've improved the code to not throw that error any more (I hope) for version 10