mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
Fix config iteration order (#7230)
This commit is contained in:
1 parent
9118c3dd24
commit
c2de232703
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