Closed MincraftEinstein closed 1 day ago
Resetting an enum config reverts to the first defined enum value rather than the value defined by the variable
public TestEnum testConfig = TestEnum.VALUE_2; public enum TestEnum { VALUE_1, VALUE_2 }
When the config is reset the restored value will be VALUE_1 not the defined default VALUE_2
VALUE_1
VALUE_2
Minecraft version: 1.21 Mod version: 0.5.5 Mod loader: Neoforge and Fabric Language: Java
fixed inDev for release 0.5.6
Resetting an enum config reverts to the first defined enum value rather than the value defined by the variable
When the config is reset the restored value will be
VALUE_1
not the defined defaultVALUE_2
Minecraft version: 1.21 Mod version: 0.5.5 Mod loader: Neoforge and Fabric Language: Java