mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-21 12:42:36 +00:00
Allow breaking conduits with yeta wrench in survival mode
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user