Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
lordIcocain committed Dec 19, 2024
1 parent aa73da4 commit 5e709e0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/appeng/util/inv/AdaptorDualityInterface.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import appeng.api.config.Settings;
import appeng.api.config.Upgrades;
import appeng.api.storage.IMEMonitor;
import appeng.api.storage.data.IAEFluidStack;
import appeng.api.storage.data.IAEItemStack;
import appeng.api.storage.data.IItemList;
import appeng.helpers.BlockingModeIgnoreList;
Expand Down Expand Up @@ -65,8 +66,8 @@ public boolean containsItems() {
} else {
hasMEItems = !dual.getItemInventory().getStorageList().isEmpty();
}

hasMEItems |= !dual.getFluidInventory().getStorageList().isEmpty();
IMEMonitor<IAEFluidStack> dualFluidInventory = dual.getFluidInventory();
if (dualFluidInventory != null) hasMEItems |= !dualFluidInventory.getStorageList().isEmpty();
}
return hasMEItems || super.containsItems();
}
Expand Down

0 comments on commit 5e709e0

Please sign in to comment.