9
0
mirror of https://github.com/Xiao-MoMi/Custom-Fishing.git synced 2025-12-28 03:19:12 +00:00

removed isEnabled check for some plugins

This commit is contained in:
XiaoMoMi
2024-04-13 17:09:13 +08:00
parent b085fd127a
commit 5fc2e03bbb
6 changed files with 28 additions and 10 deletions

View File

@@ -26,6 +26,15 @@ import java.util.Map;
public interface PlaceholderManager {
/**
* Register a custom placeholder
*
* @param placeholder for instance {level}
* @param original for instance %player_level%
* @return success or not, it would fail if the placeholder has been registered
*/
boolean registerCustomPlaceholder(String placeholder, String original);
/**
* Set placeholders in a text string for a player.
*