mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-26 14:00:14 +00:00
MetaNumberPreprocessor after MetaValuePreprocessor
This commit is contained in:
1 parent
9d12fe1bf1
commit
90e127a512
1 file changed
+4
-4
@@ -255,14 +255,14 @@ public class ConfigPackImpl implements ConfigPack {
|
|||||||
selfLoader.registerPreprocessor(Meta.class, mapPreprocessor);
|
selfLoader.registerPreprocessor(Meta.class, mapPreprocessor);
|
||||||
abstractConfigLoader.registerPreprocessor(Meta.class, mapPreprocessor);
|
abstractConfigLoader.registerPreprocessor(Meta.class, mapPreprocessor);
|
||||||
|
|
||||||
MetaNumberPreprocessor numberPreprocessor = new MetaNumberPreprocessor(configurations);
|
|
||||||
selfLoader.registerPreprocessor(Meta.class, numberPreprocessor);
|
|
||||||
abstractConfigLoader.registerPreprocessor(Meta.class, numberPreprocessor);
|
|
||||||
|
|
||||||
MetaValuePreprocessor valuePreprocessor = new MetaValuePreprocessor(configurations);
|
MetaValuePreprocessor valuePreprocessor = new MetaValuePreprocessor(configurations);
|
||||||
selfLoader.registerPreprocessor(Meta.class, valuePreprocessor);
|
selfLoader.registerPreprocessor(Meta.class, valuePreprocessor);
|
||||||
abstractConfigLoader.registerPreprocessor(Meta.class, valuePreprocessor);
|
abstractConfigLoader.registerPreprocessor(Meta.class, valuePreprocessor);
|
||||||
|
|
||||||
|
MetaNumberPreprocessor numberPreprocessor = new MetaNumberPreprocessor(configurations);
|
||||||
|
selfLoader.registerPreprocessor(Meta.class, numberPreprocessor);
|
||||||
|
abstractConfigLoader.registerPreprocessor(Meta.class, numberPreprocessor);
|
||||||
|
|
||||||
Map<ConfigType<? extends ConfigTemplate, ?>, List<Configuration>> configs = new HashMap<>();
|
Map<ConfigType<? extends ConfigTemplate, ?>, List<Configuration>> configs = new HashMap<>();
|
||||||
|
|
||||||
for(Configuration configuration : configurations.values()) { // Sort the configs
|
for(Configuration configuration : configurations.values()) { // Sort the configs
|
||||||
|
|||||||
Reference in new issue
Block a user