A generic string codec is used in statistic bundle namespace configuration:
|
Codec.STRING.optionalFieldOf("statistics_bundle", LoopDeLoop.ID).forGetter(LoopDeLoopConfig::statisticsBundle), |
However, this approach means that the game may fail at runtime. Instead, the codec added in NucleoidMC/plasmid#204 should be used to ensure that games with invalid statistic bundle namespaces fail to load.
A generic string codec is used in statistic bundle namespace configuration:
loop-de-loop/src/main/java/io/github/restioson/loopdeloop/game/LoopDeLoopConfig.java
Line 40 in 26c2b3d
However, this approach means that the game may fail at runtime. Instead, the codec added in NucleoidMC/plasmid#204 should be used to ensure that games with invalid statistic bundle namespaces fail to load.