CommandHelper

CommandHelper

46.5k Downloads

Exception for Pickup/Drop Event on Build 1447

LadyCailin opened this issue ยท 2 comments

commented

CMDHELPER-2622 - Reported by PseudoKnight on 2013-04-07 09:13:00 UTC

{{2013-04-06 14:21:04 [SEVERE] Could not pass event PlayerPickupItemEvent to CommandHelper v1447-99128b2
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.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at net.minecraft.server.v1_5_R2.EntityItem.b_(EntityItem.java:228)
at net.minecraft.server.v1_5_R2.EntityHuman.r(EntityHuman.java:396)
at net.minecraft.server.v1_5_R2.EntityHuman.c(EntityHuman.java:388)
at net.minecraft.server.v1_5_R2.EntityLiving.l_(EntityLiving.java:542)
at net.minecraft.server.v1_5_R2.EntityHuman.l_(EntityHuman.java:158)
at net.minecraft.server.v1_5_R2.EntityPlayer.g(EntityPlayer.java:210)
at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:349)
at net.minecraft.server.v1_5_R2.Packet10Flying.handle(SourceFile:136)
at net.minecraft.server.v1_5_R2.NetworkManager.b(NetworkManager.java:292)
at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:110)
at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35)
at net.minecraft.server.v1_5_R2.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:580)
at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225)
at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:476)
at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:409)
at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573)
Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_5_R2.inventory.CraftItemStack cannot be cast to com.laytonsmith.abstraction.MCItemStack
at com.laytonsmith.abstraction.bukkit.BukkitMCItem.getItemStack(BukkitMCItem.java:23)
at com.laytonsmith.core.events.drivers.EntityEvents$item_pickup.matches(EntityEvents.java:538)
at com.laytonsmith.core.events.EventUtils.GetMatchingEvents(EventUtils.java:173)
at com.laytonsmith.core.events.EventUtils.TriggerListener(EventUtils.java:193)
at com.laytonsmith.abstraction.bukkit.events.drivers.BukkitEntityListener.onItemPickup(BukkitEntityListener.java:56)
at sun.reflect.GeneratedMethodAccessor101.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:425)
... 20 more}}

commented

Comment by jb_aero on 2013-04-08 15:23:56 UTC

Fix submitted: jb-aero@8ea48d7

commented

Comment by jb_aero on 2013-05-03 00:24:57 UTC

this is long fixed :I