!Updated PAPI support

This commit is contained in:
Indyuce 2020-08-08 17:48:38 +02:00
parent a40093cd66
commit 5e0999e173
2 changed files with 2 additions and 4 deletions

Binary file not shown.

View File

@ -1,15 +1,13 @@
package net.Indyuce.mmocore.comp.placeholder; package net.Indyuce.mmocore.comp.placeholder;
import net.asangarin.hexcolors.ColorParse;
import org.bukkit.OfflinePlayer; import org.bukkit.OfflinePlayer;
import me.clip.placeholderapi.PlaceholderAPI; import me.clip.placeholderapi.PlaceholderAPI;
import me.clip.placeholderapi.expansion.PlaceholderExpansion; import net.asangarin.hexcolors.ColorParse;
public class PlaceholderAPIParser implements PlaceholderParser { public class PlaceholderAPIParser implements PlaceholderParser {
public PlaceholderAPIParser() { public PlaceholderAPIParser() {
PlaceholderExpansion expansion = new RPGPlaceholders(); new RPGPlaceholders().register();
expansion.getPlaceholderAPI().getLocalExpansionManager().register(expansion);
} }
@Override @Override