diff --git a/gradle.properties b/gradle.properties index 0e403279f..d942417c3 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,7 +3,7 @@ aechannel=stable aebuild=7 aegroup=appeng aebasename=appliedenergistics2 -trousers=omni-fixes-v45g +trousers=omni-fixes-v45h ######################################################### # Versions # diff --git a/src/main/java/appeng/fluids/parts/FluidHandlerAdapter.java b/src/main/java/appeng/fluids/parts/FluidHandlerAdapter.java index 7a1bace0f..af41482ce 100644 --- a/src/main/java/appeng/fluids/parts/FluidHandlerAdapter.java +++ b/src/main/java/appeng/fluids/parts/FluidHandlerAdapter.java @@ -71,11 +71,11 @@ public class FluidHandlerAdapter implements IMEInventory, IBaseMo { this.fluidHandler = fluidHandler; this.proxyable = proxy; - if( this.proxyable instanceof PartStorageBus ) + if( this.proxyable instanceof PartFluidStorageBus ) { - PartStorageBus partStorageBus = (PartStorageBus) this.proxyable; - this.mode = ( (StorageFilter) partStorageBus.getConfigManager().getSetting( Settings.STORAGE_FILTER ) ); - this.access = ( (AccessRestriction) partStorageBus.getConfigManager().getSetting( Settings.ACCESS ) ); + PartFluidStorageBus partFluidStorageBus = (PartFluidStorageBus) this.proxyable; + this.mode = ( (StorageFilter) partFluidStorageBus.getConfigManager().getSetting( Settings.STORAGE_FILTER ) ); + this.access = ( (AccessRestriction) partFluidStorageBus.getConfigManager().getSetting( Settings.ACCESS ) ); } this.cache = new FluidHandlerAdapter.InventoryCache( this.fluidHandler, this.mode); }