mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-27 02:49:15 +00:00
rename update
This commit is contained in:
@@ -60,7 +60,7 @@ public class Config {
|
||||
protected boolean resource_pack$protection$crash_tools$method_3;
|
||||
|
||||
protected boolean resource_pack$validate$enable;
|
||||
protected boolean resource_pack$exclude_shaders;
|
||||
protected boolean resource_pack$exclude_core_shaders;
|
||||
|
||||
protected boolean resource_pack$protection$obfuscation$enable;
|
||||
protected long resource_pack$protection$obfuscation$seed;
|
||||
@@ -263,7 +263,7 @@ public class Config {
|
||||
resource_pack$protection$obfuscation$resource_location$bypass_sounds = config.getStringList("resource-pack.protection.obfuscation.resource-location.bypass-sounds");
|
||||
resource_pack$protection$obfuscation$resource_location$bypass_equipments = config.getStringList("resource-pack.protection.obfuscation.resource-location.bypass-equipments");
|
||||
resource_pack$validate$enable = config.getBoolean("resource-pack.validate.enable", true);
|
||||
resource_pack$exclude_shaders = config.getBoolean("resource-pack.exclude-shaders", false);
|
||||
resource_pack$exclude_core_shaders = config.getBoolean("resource-pack.exclude-core-shaders", false);
|
||||
|
||||
try {
|
||||
resource_pack$duplicated_files_handler = config.getMapList("resource-pack.duplicated-files-handler").stream().map(it -> {
|
||||
@@ -739,7 +739,7 @@ public class Config {
|
||||
}
|
||||
|
||||
public static boolean excludeShaders() {
|
||||
return instance.resource_pack$exclude_shaders;
|
||||
return instance.resource_pack$exclude_core_shaders;
|
||||
}
|
||||
|
||||
public YamlDocument loadOrCreateYamlData(String fileName) {
|
||||
|
||||
Reference in New Issue
Block a user