From 4ac9c4fa4e32402820a740819105bbe6e882cceb Mon Sep 17 00:00:00 2001 From: fheinrich <fheinrich@techfak.uni-bielefeld.de> Date: Tue, 13 Feb 2024 09:50:56 +0100 Subject: [PATCH] Cant throw fire extinguisher in trash --- overcooked_simulator/counters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overcooked_simulator/counters.py b/overcooked_simulator/counters.py index 3d930aa5..40779e5c 100644 --- a/overcooked_simulator/counters.py +++ b/overcooked_simulator/counters.py @@ -623,7 +623,7 @@ class Trashcan(Counter): return None def can_drop_off(self, item: Item) -> bool: - return True + return item.name != "Extinguisher" class CookingCounter(Counter): -- GitLab