mirror of
https://github.com/RayzsYT/ProAntiTab.git
synced 2026-11-30 20:39:53 -05:00
Add Message
This commit is contained in:
1 parent
748b654fcb
commit
2d8d4f3cbb
1 file changed
+2
-5
@@ -2,6 +2,7 @@ package de.rayzs.pat.utils.hooks;
|
||||
|
||||
import de.rayzs.pat.api.storage.Storage;
|
||||
import de.rayzs.pat.plugin.BukkitLoader;
|
||||
import de.rayzs.pat.plugin.logger.Logger;
|
||||
import de.rayzs.pat.utils.StringUtils;
|
||||
import me.clip.placeholderapi.expansion.PlaceholderExpansion;
|
||||
import org.bukkit.entity.Player;
|
||||
@@ -12,6 +13,7 @@ public class PlaceholderHook extends PlaceholderExpansion {
|
||||
public PlaceholderHook() {
|
||||
Storage.USE_PLACEHOLDERAPI = true;
|
||||
Storage.ConfigSections.Placeholders.initialize();
|
||||
Logger.info("Successfully hooked into PlaceholderAPI! You can now use all available placeholders of PAT.");
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -19,11 +21,6 @@ public class PlaceholderHook extends PlaceholderExpansion {
|
||||
return super.persist();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean register() {
|
||||
return super.register();
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull String getIdentifier() {
|
||||
return "proantitab";
|
||||
|
||||
Reference in new issue
Block a user