diff --git a/src/main/java/org/cyclops/cyclopscore/advancement/criterion/ModItemObtainedTrigger.java b/src/main/java/org/cyclops/cyclopscore/advancement/criterion/ModItemObtainedTrigger.java index 8fe5992814..581731d0d6 100644 --- a/src/main/java/org/cyclops/cyclopscore/advancement/criterion/ModItemObtainedTrigger.java +++ b/src/main/java/org/cyclops/cyclopscore/advancement/criterion/ModItemObtainedTrigger.java @@ -25,7 +25,7 @@ public class ModItemObtainedTrigger extends SimpleCriterionTrigger CODEC = RecordCodecBuilder.create( p_311401_ -> p_311401_.group( ExtraCodecs.strictOptionalField(EntityPredicate.ADVANCEMENT_CODEC, "player").forGetter(ModItemObtainedTrigger.Instance::player), - Codec.STRING.fieldOf("modId").forGetter(ModItemObtainedTrigger.Instance::modId) + Codec.STRING.fieldOf("mod_id").forGetter(ModItemObtainedTrigger.Instance::modId) ) .apply(p_311401_, ModItemObtainedTrigger.Instance::new) );