diff --git a/common-files/src/main/resources/config.yml b/common-files/src/main/resources/config.yml index add038568..6ab72512a 100644 --- a/common-files/src/main/resources/config.yml +++ b/common-files/src/main/resources/config.yml @@ -69,7 +69,7 @@ resource-pack: - CustomNameplates/resourcepack.zip exclude-file-extensions: ["md", "psd", "bbmodel", "db", "ini"] # Exclude the shaders when generating the resource pack - exclude-shaders: false + exclude-core-shaders: false delivery: # Send the resource pack on joining the server send-on-join: true diff --git a/core/src/main/java/net/momirealms/craftengine/core/plugin/config/Config.java b/core/src/main/java/net/momirealms/craftengine/core/plugin/config/Config.java index eb0e3bb77..36f245033 100644 --- a/core/src/main/java/net/momirealms/craftengine/core/plugin/config/Config.java +++ b/core/src/main/java/net/momirealms/craftengine/core/plugin/config/Config.java @@ -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) {