Skip to content

Commit

Permalink
Merge pull request #318 from Mari023/1.21.1-neoforge
Browse files Browse the repository at this point in the history
fix Terminal Preference resetting in Wireless Extended Pattern Access Terminal
  • Loading branch information
GlodBlock authored Jan 12, 2025
2 parents c26cc6b + 1b0cc47 commit 3dbc91c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ repositories {
dependencies {
implementation "curse.maven:glodium-957920:5821676"
implementation "appeng:appliedenergistics2:19.1.1-beta"
jarJar(implementation "de.mari_023:ae2wtlib_api:19.1.0-alpha.1")
jarJar(implementation "de.mari_023:ae2wtlib_api:19.2.0")
compileOnly "curse.maven:applied-flux-965012:5614830"
compileOnly "dev.emi:emi-neoforge:1.1.10+1.21"
compileOnly "curse.maven:mega-cells-622112:6005043"
Expand All @@ -115,7 +115,7 @@ dependencies {
compileOnly "dev.latvian.mods:kubejs-neoforge:2101.7.0-build.171"
// runtime test
runtimeOnly "curse.maven:applied-flux-965012:5614830"
runtimeOnly "de.mari_023:ae2wtlib:19.1.0-alpha.1"
runtimeOnly "de.mari_023:ae2wtlib:19.2.0"
runtimeOnly "curse.maven:jade-324717:5427817"
runtimeOnly "curse.maven:mega-cells-622112:6005043"
// setup Xei
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import appeng.api.config.ShowPatternProviders;
import appeng.api.util.IConfigManager;
import appeng.menu.locator.ItemMenuHostLocator;
import de.mari_023.ae2wtlib.api.terminal.AE2wtlibConfigManager;
import de.mari_023.ae2wtlib.api.terminal.ItemWT;
import net.minecraft.world.entity.player.Player;
import net.minecraft.world.inventory.MenuType;
Expand All @@ -24,7 +25,7 @@ public ItemWirelessExPAT() {

@Override
public @NotNull IConfigManager getConfigManager(@NotNull Supplier<ItemStack> target) {
return IConfigManager.builder(target)
return AE2wtlibConfigManager.builder(target)
.registerSetting(Settings.TERMINAL_SHOW_PATTERN_PROVIDERS, ShowPatternProviders.VISIBLE)
.build();
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/neoforge.mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ license="${mod_license}"
[[dependencies.extendedae]]
modId="ae2wtlib"
type="OPTIONAL"
versionRange="[19.1.0-alpha.1,)"
versionRange="[19.2.0,)"
ordering="AFTER"
side="BOTH"

0 comments on commit 3dbc91c

Please sign in to comment.