Skip to content

Commit

Permalink
couple quick fixes before bed
Browse files Browse the repository at this point in the history
  • Loading branch information
progwml6 committed Jan 15, 2014
1 parent dfcc6e9 commit 5667cce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/tconstruct/blocks/SmelteryBlock.java
Expand Up @@ -40,7 +40,7 @@ public SmelteryBlock()
setResistance(20F);
setStepSound(soundMetalFootstep);
rand = new Random();
this.setCreativeTab(TConstructRegistry.blockTab);
this.func_149647_a(TConstructRegistry.blockTab);
this.setUnlocalizedName("tconstruct.Smeltery");
}

Expand Down Expand Up @@ -296,13 +296,13 @@ else if (logic instanceof IMasterLogic)
}

@Override
public void breakBlock (World world, int x, int y, int z, int blockID, int meta)
public void breakBlock (World world, int x, int y, int z, Block block, int meta)
{
TileEntity logic = world.getBlockTileEntity(x, y, z);
if (logic instanceof IServantLogic)
{
((IServantLogic) logic).notifyMasterOfChange();
}
super.breakBlock(world, x, y, z, blockID, meta);
super.breakBlock(world, x, y, z, block, meta);
}
}

0 comments on commit 5667cce

Please sign in to comment.