Fix matter fabricator uses scrapboxs when full (#1052)
* Fix matter fabricator using scrapboxes when full
This commit is contained in:
parent
ff3baf46f3
commit
723fc1a551
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ public class TileMatterFabricator extends TilePowerAcceptor
|
|||
if (!super.world.isRemote) {
|
||||
for (int i = 0; i < 6; i++) {
|
||||
final ItemStack stack = this.inventory.getStackInSlot(i);
|
||||
if (!stack.isEmpty()) {
|
||||
if (!stack.isEmpty() && spaceForOutput()) {
|
||||
final int amp = this.getValue(stack);
|
||||
if (amp != 0 && this.canUseEnergy(85)) {
|
||||
this.useEnergy(85);
|
||||
|
|
Loading…
Reference in a new issue