Skip to content

Commit

Permalink
Validate configured statistic bundle namespaces
Browse files Browse the repository at this point in the history
Fixes #3
  • Loading branch information
haykam821 committed Jul 9, 2024
1 parent 1afeca0 commit 2a05b21
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class MinefieldConfig {
Codec.INT.optionalFieldOf("guide_ticks", 20 * 30).forGetter(MinefieldConfig::getGuideTicks),
Codec.INT.optionalFieldOf("end_ticks", 20 * 5).forGetter(MinefieldConfig::getEndTicks),
Codec.BOOL.optionalFieldOf("remove_exploded_pressure_plates", true).forGetter(MinefieldConfig::shouldRemoveExplodedPressurePlates),
Codec.STRING.optionalFieldOf("statistic_bundle_namespace").forGetter(MinefieldConfig::getStatisticBundleNamespace)
GameStatisticBundle.NAMESPACE_CODEC.optionalFieldOf("statistic_bundle_namespace").forGetter(MinefieldConfig::getStatisticBundleNamespace)
).apply(instance, MinefieldConfig::new);
});

Expand Down

0 comments on commit 2a05b21

Please sign in to comment.