only send when @ in expression[0]

This commit is contained in:
Riddle
2022-06-16 15:58:09 -04:00
parent 5f86424c4a
commit eb0917c4e7
+2 -1
View File
@@ -59,7 +59,8 @@ class GameStats:
self._location_stats["totals"]["items"] += 1
if send_message and self._messenger.enabled and not skip_log:
self._messenger.send_item(item_name, img, self._location, ocr_text, expression, item_props)
if expression[0] == "@":
self._messenger.send_item(item_name, img, self._location, ocr_text, expression, item_props)
def log_death(self, img: str):
self._death_counter += 1