Allow breaking conduits with yeta wrench in survival mode

This commit is contained in:
tterrag1098 committed 2015-04-02 13:16:36 -04:00
1 parent 190247c0ec
commit dfa8e8ff95
1 file changed
+1 -1
@@ -100,7 +100,7 @@ public class ItemYetaWrench extends Item implements ITool, IConduitControl, IAdv
@Override
public boolean onBlockStartBreak(ItemStack itemstack, int x, int y, int z, EntityPlayer player) {
Block block = player.worldObj.getBlock(x, y, z);
return block == EnderIO.blockConduitBundle;
return block == EnderIO.blockConduitBundle && player.capabilities.isCreativeMode;
}
@Override