A few bug fixes

This commit is contained in:
Aidan C. Brady committed 2015-02-27 10:09:28 -05:00
1 parent 84ab0ecb3f
commit c4c2f97170
3 files changed
+9 -4

No files matched your search

@@ -550,7 +550,7 @@ public class BlockMachine extends BlockContainer implements ISpecialBounds, IPer
if(MekanismUtils.hasUsableWrench(entityplayer, x, y, z))
{
if(entityplayer.isSneaking() && metadata != 13)
if(entityplayer.isSneaking() && MachineType.get(world.getBlock(x, y, z), metadata) != MachineType.ELECTRIC_CHEST)
{
dismantleBlock(world, x, y, z, false);
return true;