Mtihc / TreasureChest

The TreasureChest plugin for CraftBukkit
dev.bukkit.org/server-mods/treasurechest
10 stars 39 forks source link

Could not pass event PlayerInteractEvent #28

Closed Xarias09 closed 11 years ago

Xarias09 commented 11 years ago

Spigot: 373 TreasureChests: 8.3.8

PasteBin: http://pastebin.com/Ebx5WDQm

Xarias09 commented 11 years ago

And do you can add SQLite or H2 to store informations about players... better performance

Mtihc commented 11 years ago

I forget what the error was. And the link is broken.

If it's the NoClassDefError.... about CraftItemStack.... it's fixed. Otherwise I will wait for you to repost, I guess. Sorry.

Xarias09 commented 11 years ago

2013-04-02 20:25:53 [SEVERE] Could not pass event PlayerInteractEvent to TreasureChest v8.4.1 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:39) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:479) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464) at org.bukkit.craftbukkit.v1_5_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:181) at net.minecraft.server.v1_5_R2.PlayerInteractManager.interact(PlayerInteractManager.java:375) at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:632) at net.minecraft.server.v1_5_R2.Packet15Place.handle(SourceFile:58) 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:229) at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:469) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:401) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.ClassCastException: org.bukkit.block.DoubleChest cannot be cast to org.bukkit.block.Chest at org.bukkit.block.DoubleChest.getWorld(DoubleChest.java:33) at org.bukkit.block.DoubleChest.getLocation(DoubleChest.java:29) at com.mtihc.minecraft.treasurechest.v8.core.TreasureManager.getLocation(TreasureManager.java:73) at com.mtihc.minecraft.treasurechest.v8.core.TreasureManager.getTreasureChest(TreasureManager.java:400) at com.mtihc.minecraft.treasurechest.v8.core.TreasureManager.onPlayerInteract(TreasureManager.java:209) at com.mtihc.minecraft.treasurechest.v8.core.TreasureChestListener.onPlayerInteract(TreasureChestListener.java:28) at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:487) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 17 more