mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-22 10:36:10 +01:00
player tag for messages
This commit is contained in:
parent
1693202784
commit
659b1c7dde
@ -38,6 +38,7 @@ public class Messaging {
|
||||
public static void sendWithNPC(Player player, Object msg, NPC npc) {
|
||||
String send = msg.toString();
|
||||
|
||||
send = send.replace("<player>", player.getName());
|
||||
send = send.replace("<npc>", npc.getName());
|
||||
send = send.replace("<id>", Integer.toString(npc.getId()));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user