diff --git a/lib/PlaceholderAPI.jar b/lib/PlaceholderAPI.jar index d74e6c13..ac94604d 100644 Binary files a/lib/PlaceholderAPI.jar and b/lib/PlaceholderAPI.jar differ diff --git a/src/main/java/net/Indyuce/mmocore/comp/placeholder/PlaceholderAPIParser.java b/src/main/java/net/Indyuce/mmocore/comp/placeholder/PlaceholderAPIParser.java index 5d653dc8..36a9172f 100644 --- a/src/main/java/net/Indyuce/mmocore/comp/placeholder/PlaceholderAPIParser.java +++ b/src/main/java/net/Indyuce/mmocore/comp/placeholder/PlaceholderAPIParser.java @@ -1,15 +1,13 @@ package net.Indyuce.mmocore.comp.placeholder; -import net.asangarin.hexcolors.ColorParse; import org.bukkit.OfflinePlayer; import me.clip.placeholderapi.PlaceholderAPI; -import me.clip.placeholderapi.expansion.PlaceholderExpansion; +import net.asangarin.hexcolors.ColorParse; public class PlaceholderAPIParser implements PlaceholderParser { public PlaceholderAPIParser() { - PlaceholderExpansion expansion = new RPGPlaceholders(); - expansion.getPlaceholderAPI().getLocalExpansionManager().register(expansion); + new RPGPlaceholders().register(); } @Override