Skip to content

Commit

Permalink
fix oversize interface
Browse files Browse the repository at this point in the history
  • Loading branch information
GlodBlock committed Nov 2, 2024
1 parent e2366a7 commit cf1db16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cf1db16

Please sign in to comment.