mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-26 05:50:08 +00:00
1 file changed
+1
-1
@@ -398,7 +398,7 @@ public class ConfigPackImpl implements ConfigPack {
|
|||||||
|
|
||||||
Map<String, Configuration> configurations = new HashMap<>();
|
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);
|
MetaStringPreprocessor stringPreprocessor = new MetaStringPreprocessor(configurations);
|
||||||
selfLoader.registerPreprocessor(Meta.class, stringPreprocessor);
|
selfLoader.registerPreprocessor(Meta.class, stringPreprocessor);
|
||||||
|
|||||||
Reference in new issue
Block a user