Stacked Electric Chests can now open
This commit is contained in:
parent
f5979e26bc
commit
3df1750f82
2 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
|
@ -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());
|
||||
|
||||
|
|
Loading…
Reference in a new issue