Diamant und Sockel werden sichtbar.

This commit is contained in:
Olli Graf
2022-06-13 14:59:55 +02:00
parent 7bd3ecaba0
commit ebdf22f6a6
5 changed files with 44 additions and 8 deletions

View File

@@ -123,6 +123,9 @@ class WorldParser():
gegenstand.pickupmsg = msgid
# logging.debug('Item ' + gegenstand.name + ' - Pickup: ' + gegenstand.pickupmsg)
if id in self.world.gegenstaende:
raise ValueError(f'dopplete Item-Id {id}')
self.world.gegenstaende[id] = gegenstand
# Personen