Small fix to previous commit

This commit is contained in:
raoulvdberge
2017-04-25 20:59:29 +02:00
parent 733dffd446
commit 3dc4f05bfe
2 changed files with 2 additions and 1 deletions

View File

@@ -218,7 +218,7 @@ public class NetworkNodeDiskManipulator extends NetworkNode implements IComparab
while (itemFilters.getSlots() > i && extracted == null) {
ItemStack filterStack = ItemStack.EMPTY;
while (itemFilters.getSlots() > i && filterStack == null) {
while (itemFilters.getSlots() > i && filterStack.isEmpty()) {
filterStack = itemFilters.getStackInSlot(i++);
}

View File

@@ -30,6 +30,7 @@ public class ItemHandlerFluid extends ItemHandlerBase {
}
}
@Nullable
public FluidStack getFluidStackInSlot(int slot) {
return fluids[slot];
}