Skip to content

Commit

Permalink
Validate configured statistic bundle namespaces
Browse files Browse the repository at this point in the history
Fixes #6
  • Loading branch information
haykam821 committed Jul 8, 2024
1 parent b79c4d9 commit 9f7eaf6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class DownpourConfig {
Codec.INT.optionalFieldOf("lock_time", 20 * 7).forGetter(DownpourConfig::getLockTime),
Codec.INT.optionalFieldOf("unlock_time", 20 * 2).forGetter(DownpourConfig::getUnlockTime),
Codec.INT.optionalFieldOf("no_knockback_rounds", 2).forGetter(DownpourConfig::getNoKnockbackRounds),
Codec.STRING.optionalFieldOf("statistic_bundle_namespace").forGetter(DownpourConfig::getStatisticBundleNamespace)
GameStatisticBundle.NAMESPACE_CODEC.optionalFieldOf("statistic_bundle_namespace").forGetter(DownpourConfig::getStatisticBundleNamespace)
).apply(instance, DownpourConfig::new);
});

Expand Down

0 comments on commit 9f7eaf6

Please sign in to comment.