Skip to content

Commit

Permalink
Merge branch 'master' into LES-tricorder
Browse files Browse the repository at this point in the history
  • Loading branch information
Dream-Master authored Dec 16, 2024
2 parents ee14af4 + 36b0ac4 commit 7c13155
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public void updateSlotFluids() {

public boolean isItemEmpty() {
updateSlotItems();
return itemInventory.isEmpty() && sharedItemGetter.getSharedItem().length == 0;
return itemInventory.isEmpty();
}

public boolean isFluidEmpty() {
Expand All @@ -201,13 +201,13 @@ public boolean isEmpty() {

@Override
public ItemStack[] getItemInputs() {
if (isItemEmpty()) return new ItemStack[0];
if (isEmpty()) return new ItemStack[0];
return ArrayUtils.addAll(itemInventory.toArray(new ItemStack[0]), sharedItemGetter.getSharedItem());
}

@Override
public FluidStack[] getFluidInputs() {
if (isFluidEmpty()) return new FluidStack[0];
if (isEmpty()) return new FluidStack[0];
return fluidInventory.toArray(new FluidStack[0]);
}

Expand Down

0 comments on commit 7c13155

Please sign in to comment.