Removed more deprecated config getters

This commit is contained in:
Auxilor 2021-04-02 12:44:23 +01:00
parent 81426795bd
commit 242cb16ee6

View File

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