mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Correct grammar for maxnum chars reached. Resolves #2151
This commit is contained in:
parent
5f6496b6a5
commit
9b08bfe9c2
1 changed files with 2 additions and 1 deletions
|
|
@ -154,7 +154,8 @@ class CmdCharCreate(COMMAND_DEFAULT_CLASS):
|
|||
if not account.is_superuser and (
|
||||
account.db._playable_characters and len(account.db._playable_characters) >= charmax
|
||||
):
|
||||
self.msg("You may only create a maximum of %i characters." % charmax)
|
||||
plural = "" if charmax == 1 else "s"
|
||||
self.msg(f"You may only create a maximum of {charmax} character{plural}.")
|
||||
return
|
||||
from evennia.objects.models import ObjectDB
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue