mirror of
https://github.com/evennia/evennia.git
synced 2026-03-28 02:36:32 +01:00
Further changes to allow dbrefs to be 0.
This commit is contained in:
parent
889708cf07
commit
8a44daef7e
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ class TypedObjectManager(idmapper.manager.SharedMemoryManager):
|
|||
if isinstance(dbref, basestring):
|
||||
dbref = dbref.lstrip('#')
|
||||
try:
|
||||
if int(dbref) < 1:
|
||||
if int(dbref) < 0:
|
||||
return None
|
||||
except Exception:
|
||||
return None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue