fix win loading

This commit is contained in:
NeumimTo 2021-10-22 22:53:55 +02:00
parent 614431af2f
commit 8a5666227d

View File

@ -381,7 +381,7 @@ public class ConfigPackImpl implements ConfigPack {
Map<String, Configuration> configurations = new HashMap<>();
platform.getEventManager().callEvent(new ConfigurationDiscoveryEvent(this, loader, configurations::put)); // Create all the configs.
platform.getEventManager().callEvent(new ConfigurationDiscoveryEvent(this, loader, (s, c) -> configurations.put(s.replace("\\","/"), c))); // Create all the configs.
MetaStringPreprocessor stringPreprocessor = new MetaStringPreprocessor(configurations);
selfLoader.registerPreprocessor(Meta.class, stringPreprocessor);