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 (
|
if not account.is_superuser and (
|
||||||
account.db._playable_characters and len(account.db._playable_characters) >= charmax
|
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
|
return
|
||||||
from evennia.objects.models import ObjectDB
|
from evennia.objects.models import ObjectDB
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue