forked from Upstream/mmocore
!Updated PAPI support
This commit is contained in:
parent
a40093cd66
commit
5e0999e173
Binary file not shown.
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user