mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-01-11 19:00:37 +01:00
Make /npc tphere include the coordinates it was teleported to
This commit is contained in:
parent
be592d1f54
commit
5907c1c8b2
@ -2157,7 +2157,8 @@ public class NPCCommands {
|
||||
} else {
|
||||
npc.teleport(args.getSenderLocation(), TeleportCause.COMMAND);
|
||||
}
|
||||
Messaging.sendTr(sender, Messages.NPC_TELEPORTED, npc.getName());
|
||||
Messaging.sendTr(sender, Messages.NPC_TELEPORTED, npc.getName(),
|
||||
Util.prettyPrintLocation(args.getSenderLocation()));
|
||||
}
|
||||
|
||||
@Command(
|
||||
|
@ -224,7 +224,7 @@ citizens.commands.npc.tp.location-not-found=Couldn''t find the target NPC''s loc
|
||||
citizens.commands.npc.tpto.success=Teleported successfully.
|
||||
citizens.commands.npc.tpto.to-not-found=Destination entity not found.
|
||||
citizens.commands.npc.tpto.from-not-found=Source entity not found.
|
||||
citizens.commands.npc.tphere.teleported=[[{0}]] was teleported to your location.
|
||||
citizens.commands.npc.tphere.teleported=[[{0}]] was teleported to {1}.
|
||||
citizens.commands.npc.type.set=[[{0}]]''s type set to [[{1}]].
|
||||
citizens.commands.npc.type.invalid=[[{0}]] is not a valid type.
|
||||
citizens.commands.npc.vulnerable.set=[[{0}]] is now vulnerable.
|
||||
|
Loading…
Reference in New Issue
Block a user