From b6b03cfbd8a629ee00b9b854429f9da4474c675e Mon Sep 17 00:00:00 2001 From: hiroscho Date: Sun, 17 Nov 2024 13:56:08 +0100 Subject: [PATCH] use StorageBusInventoryHandler --- .../com/glodblock/github/common/parts/PartFluidStorageBus.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/glodblock/github/common/parts/PartFluidStorageBus.java b/src/main/java/com/glodblock/github/common/parts/PartFluidStorageBus.java index bf133e921..56f1246e1 100644 --- a/src/main/java/com/glodblock/github/common/parts/PartFluidStorageBus.java +++ b/src/main/java/com/glodblock/github/common/parts/PartFluidStorageBus.java @@ -63,6 +63,7 @@ import appeng.me.GridAccessException; import appeng.me.cache.GridStorageCache; import appeng.me.storage.MEInventoryHandler; +import appeng.me.storage.StorageBusInventoryHandler; import appeng.parts.automation.PartUpgradeable; import appeng.tile.inventory.AppEngInternalAEInventory; import appeng.tile.inventory.InvOperation; @@ -351,7 +352,7 @@ public MEInventoryHandler getInternalHandler() { this.monitor = h; } if (inv != null) { - this.handler = new MEInventoryHandler(inv, StorageChannel.FLUIDS); + this.handler = new StorageBusInventoryHandler(inv, StorageChannel.FLUIDS); AccessRestriction currentAccess = (AccessRestriction) this.getConfigManager().getSetting(Settings.ACCESS); this.handler.setBaseAccess(currentAccess); this.handler.setWhitelist(