mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-09-27 06:42:57 +02:00
Adjust NPC_NAME_TOO_LONG message
This commit is contained in:
parent
de94185133
commit
0e043843e4
@ -402,7 +402,7 @@ public class NPCCommands {
|
||||
|
||||
int nameLength = type == EntityType.PLAYER ? 46 : 64;
|
||||
if (name.length() > nameLength) {
|
||||
Messaging.sendErrorTr(sender, Messages.NPC_NAME_TOO_LONG);
|
||||
Messaging.sendErrorTr(sender, Messages.NPC_NAME_TOO_LONG, nameLength);
|
||||
name = name.substring(0, nameLength);
|
||||
}
|
||||
if (name.length() == 0)
|
||||
|
@ -54,7 +54,7 @@ citizens.commands.npc.copy.copied=[[{0}]] has been copied.
|
||||
citizens.commands.npc.create.mobtype-missing=[[{0}]] is not supported as an NPC mobtype.
|
||||
citizens.commands.npc.create.invalid-location=Spawn location could not be parsed or was not found.
|
||||
citizens.commands.npc.create.invalid-mobtype=[[{0}]] is not a valid mob type.
|
||||
citizens.commands.npc.create.npc-name-too-long=NPC names cannot be longer than 16 characters. The name has been shortened.
|
||||
citizens.commands.npc.create.npc-name-too-long=NPC names cannot be longer than [[{0}]] characters. The name has been shortened.
|
||||
citizens.commands.npc.create.no-player-for-spawn=No player could be found by that name to spawn an NPC at.
|
||||
citizens.commands.npc.despawn.despawned=You despawned [[{0}]].
|
||||
citizens.commands.npc.flyable.set=[[{0}]] is now flyable.
|
||||
|
Loading…
Reference in New Issue
Block a user