mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-25 15:35:11 +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 -> {
|
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(
|
||||||
|
Loading…
Reference in New Issue
Block a user