This commit is contained in:
Thomas Krijnen
2026-01-14 14:09:40 +01:00
parent fbbc92c5d7
commit cf3393b6a0
3 changed files with 7 additions and 3 deletions
@@ -146,7 +146,7 @@ class entity_instance_mixin:
for sty in yield_supertypes():
if fn := getattr(rules, f"calc_{sty}_{name}", None):
return fn(self)
raise AttributeError("entity instance of type '%s' has no attribute '%s'" % (self.is_a(True), name))
@staticmethod