Fixed scrapbox list of outputs. Closes #1317. I hope )

This commit is contained in:
drcrazy 2017-10-24 15:09:53 +03:00
parent 57151a6f67
commit 440c089b5f
2 changed files with 4 additions and 1 deletions

View file

@ -126,7 +126,8 @@ public class TileScrapboxinator extends TilePowerAcceptor
}
public boolean canOpen() {
return this.getStackInSlot(this.input1) != ItemStack.EMPTY && this.getStackInSlot(this.output) == ItemStack.EMPTY;
return !this.getStackInSlot(this.input1).isEmpty() && this.getStackInSlot(this.output).isEmpty()
&& ScrapboxList.stacks.size() > 0;
}
public boolean isBurning() {