mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-02-16 20:31:30 +01:00
player tag for messages
This commit is contained in:
parent
22979f819f
commit
dcef6980f9
@ -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