Afforess/MinecartMania-Chest-Control — Issue #20: CB 1317 and MM Chest Control Sign cast error
Author: waflija
Created: 2011-10-16 20:53:23+00:00
State: open

Hi, there is a Problem with the chest control plugin:

13:39:11 [SCHWERWIEGEND] Could not pass event CUSTOM_EVENT to MinecartManiaChestControl
java.lang.ClassCastException: org.bukkit.craftbukkit.block.CraftBlockState cannot be cast to org.bukkit.block.Sign
at com.afforess.minecartmaniachestcontrol.itemcontainer.ItemCollectionManager.createItemContainers(ItemCollectionManager.java:1
82)
at com.afforess.minecartmaniachestcontrol.MinecartManiaActionListener.onMinecartActionEvent(MinecartManiaActionListener.java:80
)
at com.afforess.minecartmaniacore.event.MinecartManiaListener.onCustomEvent(MinecartManiaListener.java:230)
at org.bukkit.plugin.java.JavaPluginLoader$96.execute(JavaPluginLoader.java:934)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at com.afforess.minecartmaniacore.MinecartManiaCore.callEvent(MinecartManiaCore.java:251)
at com.afforess.minecartmaniacore.api.MinecartManiaCoreListener.onVehicleUpdate(MinecartManiaCoreListener.java:90)
at org.bukkit.plugin.java.JavaPluginLoader$90.execute(JavaPluginLoader.java:890)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at net.minecraft.server.EntityMinecart.s_(EntityMinecart.java:561)
at net.minecraft.server.World.entityJoinedWorld(World.java:1193)
at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:104)
at net.minecraft.server.World.playerJoinedWorld(World.java:1175)
at net.minecraft.server.World.tickEntities(World.java:1090)
at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:467)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
13:39:11 [SCHWERWIEGEND] Could not pass event CUSTOM_EVENT to MinecartManiaChestControl
java.lang.ClassCastException: org.bukkit.craftbukkit.block.CraftBlockState cannot be cast to org.bukkit.block.Sign
at com.afforess.minecartmaniachestcontrol.itemcontainer.ItemCollectionManager.createItemContainers(ItemCollectionManager.java:1
82)
at com.afforess.minecartmaniachestcontrol.MinecartManiaActionListener.onMinecartActionEvent(MinecartManiaActionListener.java:80
)
at com.afforess.minecartmaniacore.event.MinecartManiaListener.onCustomEvent(MinecartManiaListener.java:230)
at org.bukkit.plugin.java.JavaPluginLoader$96.execute(JavaPluginLoader.java:934)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at com.afforess.minecartmaniacore.MinecartManiaCore.callEvent(MinecartManiaCore.java:251)
at com.afforess.minecartmaniacore.api.MinecartManiaCoreListener.onVehicleUpdate(MinecartManiaCoreListener.java:90)
at org.bukkit.plugin.java.JavaPluginLoader$90.execute(JavaPluginLoader.java:890)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at net.minecraft.server.EntityMinecart.s_(EntityMinecart.java:561)
at net.minecraft.server.World.entityJoinedWorld(World.java:1193)
at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:104)
at net.minecraft.server.World.playerJoinedWorld(World.java:1175)
at net.minecraft.server.World.tickEntities(World.java:1090)
at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:467)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)