mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-17 14:21:08 +00:00
Merge remote-tracking branch 'origin/ver/6.0.0' into ver/6.0.0
This commit is contained in:
Submodule common/addons/chunk-generator-noise-3d updated: b85bc70f14...51b30fb818
Submodule common/addons/config-structure updated: ba6b654f97...04865538bf
Submodule common/addons/language-yaml updated: 5957a2bf7d...b9f98da059
Submodule common/addons/manifest-addon-loader updated: e89c175081...c5db2fcd23
Submodule common/addons/structure-terrascript-loader updated: 3f89e60dea...355e024025
@@ -19,8 +19,6 @@ public interface PluginConfig {
|
|||||||
|
|
||||||
boolean isDebugCommands();
|
boolean isDebugCommands();
|
||||||
|
|
||||||
boolean isDebugLogging();
|
|
||||||
|
|
||||||
boolean isDebugProfiler();
|
boolean isDebugProfiler();
|
||||||
|
|
||||||
boolean isDebugScript();
|
boolean isDebugScript();
|
||||||
|
|||||||
@@ -43,10 +43,6 @@ public class PluginConfigImpl implements ConfigTemplate, com.dfsek.terra.api.con
|
|||||||
@Default
|
@Default
|
||||||
private boolean debugCommands = false;
|
private boolean debugCommands = false;
|
||||||
|
|
||||||
@Value("debug.log")
|
|
||||||
@Default
|
|
||||||
private boolean debugLog = false; // TODO: 2021-08-30 remove me
|
|
||||||
|
|
||||||
@Value("debug.profiler")
|
@Value("debug.profiler")
|
||||||
@Default
|
@Default
|
||||||
private boolean debugProfiler = false;
|
private boolean debugProfiler = false;
|
||||||
@@ -128,11 +124,6 @@ public class PluginConfigImpl implements ConfigTemplate, com.dfsek.terra.api.con
|
|||||||
return debugCommands;
|
return debugCommands;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean isDebugLogging() {
|
|
||||||
return debugLog;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isDebugProfiler() {
|
public boolean isDebugProfiler() {
|
||||||
return debugProfiler;
|
return debugProfiler;
|
||||||
|
|||||||
@@ -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