Fixed Digital Miner redstone slot interaction
This commit is contained in:
parent
dc7f5cfc9b
commit
cde76479ab
1 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue