Fixed machine opening gui's while being wrenched now players must be sneaking to wrench machine
This commit is contained in:
parent
744a694142
commit
0de33330e3
19 changed files with 97 additions and 20 deletions
|
@ -241,7 +241,11 @@ public class TileQuantumChest extends TileMachineBase implements IInventory,
|
|||
@Override
|
||||
public boolean wrenchCanRemove(EntityPlayer entityPlayer)
|
||||
{
|
||||
return true;
|
||||
if (entityPlayer.isSneaking())
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue