import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;
import chemicraft.ChemiCraft;
+import chemicraft.debug.DebugTick;
import chemicraft.tileentity.TileEntityPyrolysisTable;
public class BlockPyrolysisTable extends BlockContainer {
@Override
+ public void breakBlock(World par1World, int par2, int par3, int par4, int par5, int par6) {
+ TileEntity tileentity = par1World.getBlockTileEntity(par2, par3, par4);
+ if (tileentity != null) {
+ DebugTick.removeDebugData("PyrolysisTable" +
+ "(x:" + tileentity.xCoord +
+ " y:" + tileentity.yCoord +
+ " z:" + tileentity.zCoord + ")");
+ }
+ super.breakBlock(par1World, par2, par3, par4, par5, par6);
+ }
+
+
+
+ @Override
public int getBlockTextureFromSide(int par1)
{
if(par1 == 0){