Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

InventoryClickEvent ERROR with CB 1.5 0.1 #2646 #563

Open
SERVERCONSOLE opened this Issue Mar 15, 2013 · 1 comment

Comments

Projects
None yet
2 participants

2013-03-15 18:21:16 [SEVERE] Could not pass event InventoryClickEvent to LWC v4.3.1 (b820-git-MANUAL) (February 02, 2013)
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:35)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at net.minecraft.server.v1_5_R1.PlayerConnection.a(PlayerConnection.java:1173)
at net.minecraft.server.v1_5_R1.Packet102WindowClick.handle(SourceFile:31)
at net.minecraft.server.v1_5_R1.NetworkManager.b(NetworkManager.java:292)
at net.minecraft.server.v1_5_R1.PlayerConnection.d(PlayerConnection.java:113)
at net.minecraft.server.v1_5_R1.ServerConnection.b(SourceFile:35)
at net.minecraft.server.v1_5_R1.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.v1_5_R1.MinecraftServer.r(MinecraftServer.java:580)
at net.minecraft.server.v1_5_R1.DedicatedServer.r(DedicatedServer.java:225)
at net.minecraft.server.v1_5_R1.MinecraftServer.q(MinecraftServer.java:476)
at net.minecraft.server.v1_5_R1.MinecraftServer.run(MinecraftServer.java:409)
at net.minecraft.server.v1_5_R1.ThreadServerApplication.run(SourceFile:573)
Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.elementData(ArrayList.java:338)
at java.util.ArrayList.get(ArrayList.java:351)
at net.minecraft.server.v1_5_R1.Container.getSlot(Container.java:100)
at org.bukkit.craftbukkit.v1_5_R1.inventory.CraftInventoryView.getItem(CraftInventoryView.java:65)
at org.bukkit.event.inventory.InventoryClickEvent.getCurrentItem(InventoryClickEvent.java:52)
at com.griefcraft.listeners.LWCPlayerListener.onInventoryClick(LWCPlayerListener.java:312)
at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
... 15 more

Owner

Hidendra commented Mar 16, 2013

This is a bukkit or MC bug as LWC is just using the API. at any rate update to http://dev.bukkit.org/server-mods/lwc/files/34-lwc-4-3-2-beta-2/ as it catches that so it doesn't show up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment