diff --git a/build.gradle b/build.gradle index f9dfcd7b..c58a9456 100644 --- a/build.gradle +++ b/build.gradle @@ -101,7 +101,7 @@ repositories { } dependencies { - implementation "curse.maven:glodium-957920:5614731" + implementation "curse.maven:glodium-957920:5821676" implementation "appeng:appliedenergistics2:19.0.20-beta" jarJar(implementation "de.mari_023:ae2wtlib_api:19.1.0-alpha.1") compileOnly "curse.maven:applied-flux-965012:5614830" diff --git a/src/main/java/com/glodblock/github/extendedae/common/parts/PartOversizeInterface.java b/src/main/java/com/glodblock/github/extendedae/common/parts/PartOversizeInterface.java index d43254f7..51534ecb 100644 --- a/src/main/java/com/glodblock/github/extendedae/common/parts/PartOversizeInterface.java +++ b/src/main/java/com/glodblock/github/extendedae/common/parts/PartOversizeInterface.java @@ -45,6 +45,8 @@ public PartOversizeInterface(IPartItem partItem) { var logic = this.getInterfaceLogic(); Ae2Reflect.setInterfaceConfig(logic, new OversizeConfigInv(AEKeyTypes.getAll(), null, GenericStackInv.Mode.CONFIG_STACKS, 36, () -> Ae2Reflect.onInterfaceConfigChange(logic), false)); Ae2Reflect.setInterfaceStorage(logic, new OversizeConfigInv(AEKeyTypes.getAll(), (slot, key) -> Ae2Reflect.isInterfaceSlotAllowed(logic, slot, key), GenericStackInv.Mode.STORAGE, 36, () -> Ae2Reflect.onInterfaceStorageChange(logic), false)); + this.getConfig().useRegisteredCapacities(); + this.getStorage().useRegisteredCapacities(); } @Override