mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-22 15:05:18 +01:00
Removed more deprecated config getters
This commit is contained in:
parent
81426795bd
commit
242cb16ee6
@ -61,7 +61,7 @@ public class EnchantmentUtils {
|
||||
|
||||
enchantment.getConfig().getKeys(true).forEach(string -> {
|
||||
String key = string.replace("\\.", "_").replace("-", "_");
|
||||
Object object = enchantment.getConfig().getConfig().get(string);
|
||||
Object object = enchantment.getConfig().getRaw(string);
|
||||
|
||||
PlaceholderManager.registerPlaceholder(
|
||||
new PlaceholderEntry(
|
||||
|
Loading…
Reference in New Issue
Block a user