Proper resolution to #726

This commit is contained in:
Pahimar 2014-09-23 14:18:45 -04:00
parent 017803b484
commit 83945f1102

View file

@ -78,7 +78,7 @@ public class BlockAlchemicalChest extends BlockEE implements ITileEntityProvider
@Override
public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int par6, float par7, float par8, float par9)
{
if (player.isSneaking() || world.isSideSolid(x, y + 1, z, ForgeDirection.DOWN))
if ((player.isSneaking() && player.getCurrentEquippedItem() != null) || world.isSideSolid(x, y + 1, z, ForgeDirection.DOWN))
{
return true;
}