diff --git a/src/main/java/appeng/util/inv/AdaptorDualityInterface.java b/src/main/java/appeng/util/inv/AdaptorDualityInterface.java index 513d7681d15..28ec4a58c50 100644 --- a/src/main/java/appeng/util/inv/AdaptorDualityInterface.java +++ b/src/main/java/appeng/util/inv/AdaptorDualityInterface.java @@ -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; @@ -65,8 +66,8 @@ public boolean containsItems() { } else { hasMEItems = !dual.getItemInventory().getStorageList().isEmpty(); } - - hasMEItems |= !dual.getFluidInventory().getStorageList().isEmpty(); + IMEMonitor dualFluidInventory = dual.getFluidInventory(); + if (dualFluidInventory != null) hasMEItems |= !dualFluidInventory.getStorageList().isEmpty(); } return hasMEItems || super.containsItems(); }