New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not pass event PlayerInteractEvent to TreasureChest v8.4.9 #87

Closed
andris155 opened this Issue Feb 14, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@andris155

andris155 commented Feb 14, 2016

[12:11:13] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to TreasureChest v8.4.9
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot_1.8.jar:git-PaperSpigot-83b7006-039621d]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:74) ~[spigot_1.8.jar:git-PaperSpigot-83b7006-039621d]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot_1.8.jar:git-PaperSpigot-83b7006-039621d]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [spigot_1.8.jar:git-PaperSpigot-83b7006-039621d]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [spigot_1.8.jar:git-PaperSpigot-83b7006-039621d]
at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:228) [spigot_1.8.jar:git-PaperSpigot-83b7006-039621d]
at net.minecraft.server.v1_8_R3.PlayerInteractManager.interact(PlayerInteractManager.java:463) [spigot_1.8.jar:git-PaperSpigot-83b7006-039621d]
at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:763) [spigot_1.8.jar:git-PaperSpigot-83b7006-039621d]
at net.minecraft.server.v1_8_R3.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:52) [spigot_1.8.jar:git-PaperSpigot-83b7006-039621d]
at net.minecraft.server.v1_8_R3.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:1) [spigot_1.8.jar:git-PaperSpigot-83b7006-039621d]
at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot_1.8.jar:git-PaperSpigot-83b7006-039621d]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_51]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_51]
at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot_1.8.jar:git-PaperSpigot-83b7006-039621d]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:773) [spigot_1.8.jar:git-PaperSpigot-83b7006-039621d]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [spigot_1.8.jar:git-PaperSpigot-83b7006-039621d]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713) [spigot_1.8.jar:git-PaperSpigot-83b7006-039621d]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) [spigot_1.8.jar:git-PaperSpigot-83b7006-039621d]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_51]
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:36) ~[spigot_1.8.jar:git-PaperSpigot-83b7006-039621d]
at org.bukkit.block.DoubleChest.getLocation(DoubleChest.java:32) ~[spigot_1.8.jar:git-PaperSpigot-83b7006-039621d]
at com.mtihc.minecraft.treasurechest.v8.core.TreasureManager.getLocation(TreasureManager.java:76) ~[?:?]
at com.mtihc.minecraft.treasurechest.v8.core.TreasureManager.getTreasureChest(TreasureManager.java:464) ~[?:?]
at com.mtihc.minecraft.treasurechest.v8.core.TreasureManager.onPlayerInteract(TreasureManager.java:229) ~[?:?]
at com.mtihc.minecraft.treasurechest.v8.core.TreasureChestListener.onPlayerInteract(TreasureChestListener.java:56) ~[?:?]
at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_51]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[spigot_1.8.jar:git-PaperSpigot-83b7006-039621d]
... 18 more

@andris155 andris155 closed this Jul 13, 2017

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