Skip to content

Commit

Permalink
Update default config & ConfigAnytime
Browse files Browse the repository at this point in the history
  • Loading branch information
HaHaWTH committed Dec 30, 2024
1 parent 4ede1f7 commit e723638
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ dependencies {
transitive = false // We only care about the 1 annotation class
}
}
implementation 'com.cleanroommc:configanytime:2.0'
implementation 'com.cleanroommc:configanytime:3.0'
if (propertyBool('use_asset_mover')) {
implementation "com.cleanroommc:assetmover:${propertyString('asset_mover_version')}"
}
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/io/wdsj/hybridfix/HybridFixPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ public class HybridFixPlugin implements IFMLLoadingPlugin, IEarlyMixinLoader {
@Override
public List<String> getMixinConfigs() {
List<String> configs = new ArrayList<>();
if (!IS_HYBRID_ENV || HAS_CLEANROOM) return configs;
if (!IS_HYBRID_ENV) return configs;
if (!isClient) configs.addAll(serversideMixinConfigs.keySet());
return configs;
}

@Override
public boolean shouldMixinConfigQueue(String mixinConfig) {
if (!IS_HYBRID_ENV || HAS_CLEANROOM) return false;
if (!IS_HYBRID_ENV) return false;
Supplier<Boolean> sidedSupplier = isClient ? null : serversideMixinConfigs.get(mixinConfig);
if (sidedSupplier != null) {
return sidedSupplier.get();
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/wdsj/hybridfix/config/Settings.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public static class BukkitPluginSettings {

@Config.Comment("Worlds that AntiExplode should protect.")
@Config.RequiresMcRestart
public String[] antiExplodeWorlds = new String[]{"world"};
public String[] antiExplodeWorlds = new String[]{"world", "DIM-1", "DIM1"};
}

static {
Expand Down

0 comments on commit e723638

Please sign in to comment.