Fixed Digital Miner redstone slot interaction

This commit is contained in:
aidancbrady 2016-02-15 18:41:23 -05:00
parent dc7f5cfc9b
commit cde76479ab

View file

@ -75,14 +75,14 @@ public class ContainerDigitalMiner extends Container
if(ChargeUtils.canBeDischarged(slotStack)) if(ChargeUtils.canBeDischarged(slotStack))
{ {
if(slotID != 27) if(slotID > 27)
{ {
if(!mergeItemStack(slotStack, 27, 28, false)) if(!mergeItemStack(slotStack, 27, 28, false))
{ {
return null; return null;
} }
} }
else if(slotID == 27) else if(slotID <= 27)
{ {
if(!mergeItemStack(slotStack, 28, inventorySlots.size(), true)) if(!mergeItemStack(slotStack, 28, inventorySlots.size(), true))
{ {