Actuall register placeholders
This commit is contained in:
parent
f1ff20705d
commit
c6beaeef97
|
@ -32,7 +32,11 @@ public final class PlaceHolderApiSupport extends PlaceholderExpansion {
|
|||
@Internal
|
||||
public PlaceHolderApiSupport(final @NotNull JavaPlugin plugin) {
|
||||
this.plugin = plugin;
|
||||
plugin.getLogger().info("Placeholder detected adding support!");
|
||||
if (this.register()) {
|
||||
plugin.getLogger().info("Placeholder support added");
|
||||
} else {
|
||||
plugin.getLogger().warning("Failed to add support for placeholder");
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue