From cca8cd9fa97a7c825a5e125d8b5d1a23c2fb7dd7 Mon Sep 17 00:00:00 2001 From: InspectorCaracal <51038201+InspectorCaracal@users.noreply.github.com> Date: Thu, 14 Sep 2023 17:50:50 -0600 Subject: [PATCH] fix nattributes typo --- evennia/objects/objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/objects/objects.py b/evennia/objects/objects.py index 9611fe38af..4dc15ce729 100644 --- a/evennia/objects/objects.py +++ b/evennia/objects/objects.py @@ -1503,7 +1503,7 @@ class DefaultObject(ObjectDB, metaclass=TypeclassBase): self.attributes.batch_add(*cdict["attributes"]) if cdict.get("nattributes"): # this should be a dict of nattrname:value - for key, value in cdict["nattributes"]: + for key, value in cdict["nattributes"].items(): self.nattributes.add(key, value) del self._createdict