mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-21 04:32:15 +00:00
Fix config iteration order (#7231)
This commit is contained in:
1 parent
46eb109a7e
commit
45e125b0ec
1 file changed
+1
-1
@@ -525,7 +525,7 @@ public class ForgeConfigSpec extends UnmodifiableConfigWrapper<UnmodifiableConfi
|
||||
public ForgeConfigSpec build()
|
||||
{
|
||||
context.ensureEmpty();
|
||||
Config valueCfg = Config.of(InMemoryFormat.withSupport(ConfigValue.class::isAssignableFrom));
|
||||
Config valueCfg = Config.of(Config.getDefaultMapCreator(true, true), InMemoryFormat.withSupport(ConfigValue.class::isAssignableFrom));
|
||||
values.forEach(v -> valueCfg.set(v.getPath(), v));
|
||||
|
||||
ForgeConfigSpec ret = new ForgeConfigSpec(storage, valueCfg, levelComments);
|
||||
|
||||
Reference in new issue
Block a user