Skip to content

Commit

Permalink
Validate configured statistic bundle namespaces
Browse files Browse the repository at this point in the history
Fixes #10
  • Loading branch information
haykam821 committed Jul 9, 2024
1 parent 1f28d8f commit 880f94b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class ElectricFloorConfig {
IntProvider.NON_NEGATIVE_CODEC.optionalFieldOf("ticks_until_close", ConstantIntProvider.create(SharedConstants.TICKS_PER_SECOND * 5)).forGetter(ElectricFloorConfig::getTicksUntilClose),
Codec.INT.optionalFieldOf("spawn_platform_delay", 20 * 2).forGetter(ElectricFloorConfig::getSpawnPlatformDelay),
Codec.INT.optionalFieldOf("delay", 5).forGetter(ElectricFloorConfig::getDelay),
Codec.STRING.optionalFieldOf("statistic_bundle_namespace").forGetter(ElectricFloorConfig::getStatisticBundleNamespace)
GameStatisticBundle.NAMESPACE_CODEC.optionalFieldOf("statistic_bundle_namespace").forGetter(ElectricFloorConfig::getStatisticBundleNamespace)
).apply(instance, ElectricFloorConfig::new);
});

Expand Down

0 comments on commit 880f94b

Please sign in to comment.