Fixed config values bug

This commit is contained in:
Auxilor
2021-07-31 01:28:53 +01:00
parent 34901e8929
commit 553e69c39c

View File

@@ -65,7 +65,7 @@ public class EnchantmentUtils {
);
enchantment.getConfig().getKeys(true).forEach(string -> {
String key = string.replace("\\.", "_").replace("-", "_");
String key = string.replace(".", "_").replace("-", "_");
Object object = enchantment.getConfig().get(string);
PlaceholderManager.registerPlaceholder(