aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/anthonyhilyard/iceberg/mixin/ConfiguredConfigHelperMixin.java
diff options
context:
space:
mode:
authorAnthony Hilyard <anthony.hilyard@gmail.com>2022-07-24 23:22:06 -0700
committerAnthony Hilyard <anthony.hilyard@gmail.com>2022-07-24 23:22:06 -0700
commit6d01463c32ea14f48ce273e9daf753905f101946 (patch)
treecbd655526e165d6698850d79080e1c0eeb741622 /src/main/java/com/anthonyhilyard/iceberg/mixin/ConfiguredConfigHelperMixin.java
parent427f975d78b64ec4433e8e0542729feb0e618608 (diff)
downloadIceberg-6d01463c32ea14f48ce273e9daf753905f101946.tar.gz
Iceberg-6d01463c32ea14f48ce273e9daf753905f101946.tar.bz2
Iceberg-6d01463c32ea14f48ce273e9daf753905f101946.zip
Added support for latest Forge and Configured.
Diffstat (limited to 'src/main/java/com/anthonyhilyard/iceberg/mixin/ConfiguredConfigHelperMixin.java')
-rw-r--r--src/main/java/com/anthonyhilyard/iceberg/mixin/ConfiguredConfigHelperMixin.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/anthonyhilyard/iceberg/mixin/ConfiguredConfigHelperMixin.java b/src/main/java/com/anthonyhilyard/iceberg/mixin/ConfiguredConfigHelperMixin.java
index 682fcb8..9918740 100644
--- a/src/main/java/com/anthonyhilyard/iceberg/mixin/ConfiguredConfigHelperMixin.java
+++ b/src/main/java/com/anthonyhilyard/iceberg/mixin/ConfiguredConfigHelperMixin.java
@@ -25,7 +25,7 @@ import com.mrcrayfish.configured.util.ConfigHelper;
public class ConfiguredConfigHelperMixin
{
@Inject(method = "gatherAllConfigValues(Lnet/minecraftforge/fml/config/ModConfig;)Ljava/util/List;",
- at = @At(value = "HEAD"), cancellable = true, remap = false)
+ at = @At(value = "HEAD"), cancellable = true, remap = false, require = 0)
private static void gatherAllConfigValuesIcebergSupport(ModConfig config, CallbackInfoReturnable<List<?>> info)
{
if (config.getSpec() instanceof IcebergConfigSpec icebergConfigSpec)