mirror of
https://github.com/YouHaveTrouble/PreventStabby.git
synced 2026-05-12 05:16:55 +00:00
comand work
This commit is contained in:
@@ -19,4 +19,9 @@ public class PluginMessages {
|
||||
player.spigot().sendMessage(ChatMessageType.ACTION_BAR, component);
|
||||
}
|
||||
|
||||
public static String parsePlayerName(Player player, String message) {
|
||||
message = message.replaceAll("%player%", player.getDisplayName());
|
||||
return parseMessage(message);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user