Stacked Electric Chests can now open

This commit is contained in:
aidancbrady 2015-06-05 10:08:15 -04:00
parent f5979e26bc
commit 3df1750f82
2 changed files with 2 additions and 1 deletions

View file

@ -1059,6 +1059,7 @@ public class BlockMachine extends BlockContainer implements ISpecialBounds, IPer
switch(type)
{
case CHARGEPAD:
case ELECTRIC_CHEST:
return false;
case PORTABLE_TANK:
return side == ForgeDirection.UP || side == ForgeDirection.DOWN;

View file

@ -16,7 +16,7 @@ public class SlotElectricChest extends Slot
}
@Override
public boolean canTakeStack(EntityPlayer par1EntityPlayer)
public boolean canTakeStack(EntityPlayer player)
{
ItemStack itemstack = inventory.getStackInSlot(getSlotIndex());