phaed420/PreciousStones — Issue #83: error with a piston block
Author: dfdgsdfg
Created: 2011-10-09 12:30:06+00:00
State: open

2011-10-09 17:46:15 [SEVERE] Could not pass event BLOCK_PISTON_RETRACT to PreciousStones
java.lang.ClassCastException: org.bukkit.material.MaterialData cannot be cast to org.bukkit.material.PistonBaseMaterial
at org.bukkit.event.block.BlockPistonEvent.getDirection(BlockPistonEvent.java:41)
at net.sacredlabyrinth.Phaed.PreciousStones.listeners.PSBlockListener.onBlockPistonRetract(PSBlockListener.java:700)
at org.bukkit.plugin.java.JavaPluginLoader$45.execute(JavaPluginLoader.java:554)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at net.minecraft.server.BlockPiston.g(BlockPiston.java:85)
at net.minecraft.server.BlockPiston.doPhysics(BlockPiston.java:47)
at org.getspout.spout.block.mcblock.CustomBlock.doPhysics(CustomBlock.java:185)
at net.minecraft.server.BlockPistonExtension.doPhysics(BlockPistonExtension.java:148)
at org.getspout.spout.block.mcblock.CustomBlock.doPhysics(CustomBlock.java:185)
at net.minecraft.server.World.k(World.java:488)
at net.minecraft.server.World.applyPhysics(World.java:464)
at net.minecraft.server.World.update(World.java:431)
at net.minecraft.server.World.setTypeId(World.java:403)
at net.minecraft.server.BlockPiston.a(BlockPiston.java:157)
at org.getspout.spout.block.mcblock.CustomBlock.a(CustomBlock.java:352)
at net.minecraft.server.World.playNote(World.java:2449)
at net.minecraft.server.WorldServer.playNote(WorldServer.java:218)
at net.minecraft.server.BlockPiston.g(BlockPiston.java:93)
at net.minecraft.server.BlockPiston.doPhysics(BlockPiston.java:47)
at org.getspout.spout.block.mcblock.CustomBlock.doPhysics(CustomBlock.java:185)
at net.minecraft.server.BlockPistonExtension.doPhysics(BlockPistonExtension.java:148)
at org.getspout.spout.block.mcblock.CustomBlock.doPhysics(CustomBlock.java:185)
at net.minecraft.server.World.k(World.java:488)
at net.minecraft.server.World.applyPhysics(World.java:464)
at net.minecraft.server.World.update(World.java:431)
at net.minecraft.server.World.setTypeId(World.java:403)
at net.minecraft.server.BlockPiston.a(BlockPiston.java:157)
at org.getspout.spout.block.mcblock.CustomBlock.a(CustomBlock.java:352)
at net.minecraft.server.World.playNote(World.java:2449)
at net.minecraft.server.WorldServer.playNote(WorldServer.java:218)
at net.minecraft.server.BlockPiston.g(BlockPiston.java:93)
at net.minecraft.server.BlockPiston.doPhysics(BlockPiston.java:47)
at org.getspout.spout.block.mcblock.CustomBlock.doPhysics(CustomBlock.java:185)
at net.minecraft.server.BlockPistonExtension.doPhysics(BlockPistonExtension.java:148)
at org.getspout.spout.block.mcblock.CustomBlock.doPhysics(CustomBlock.java:185)
at net.minecraft.server.World.k(World.java:488)
at net.minecraft.server.World.applyPhysics(World.java:464)
at net.minecraft.server.World.update(World.java:431)
at net.minecraft.server.World.setTypeId(World.java:403)
at net.minecraft.server.BlockPiston.a(BlockPiston.java:157)
at org.getspout.spout.block.mcblock.CustomBlock.a(CustomBlock.java:352)
at net.minecraft.server.World.playNote(World.java:2449)
at net.minecraft.server.WorldServer.playNote(WorldServer.java:218)
at net.minecraft.server.BlockPiston.g(BlockPiston.java:93)
at net.minecraft.server.BlockPiston.doPhysics(BlockPiston.java:47)
at org.getspout.spout.block.mcblock.CustomBlock.doPhysics(CustomBlock.java:185)
at net.minecraft.server.World.k(World.java:488)
at net.minecraft.server.World.applyPhysics(World.java:465)
at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:49)
at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:286)
at org.getspout.spout.block.mcblock.CustomBlock.doPhysics(CustomBlock.java:185)
at net.minecraft.server.World.k(World.java:488)
at net.minecraft.server.World.applyPhysics(World.java:467)
at net.minecraft.server.World.update(World.java:431)
at net.minecraft.server.World.setTypeIdAndData(World.java:415)
at net.minecraft.server.BlockDiode.a(SourceFile:63)
at org.getspout.spout.block.mcblock.CustomBlock.a(CustomBlock.java:175)
at net.minecraft.server.World.a(World.java:2143)
at net.minecraft.server.World.doTick(World.java:1637)
at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:461)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)

RB1240
PS6.4
City Protection