mirror of
https://github.com/evennia/evennia.git
synced 2026-03-25 01:06:32 +01:00
Update objects.py
This commit is contained in:
parent
a2d7b9f3d4
commit
3e77b91edb
1 changed files with 1 additions and 1 deletions
|
|
@ -1249,7 +1249,7 @@ class DefaultObject(ObjectDB, metaclass=TypeclassBase):
|
|||
|
||||
"""
|
||||
plural_category = "plural_key"
|
||||
key = kwargs.get("key", self.key)
|
||||
key = kwargs.get("key", self.name)
|
||||
key = ansi.ANSIString(key) # this is needed to allow inflection of colored names
|
||||
try:
|
||||
plural = _INFLECT.plural(key, count)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue