From eacedd60bd5233018c6f0658aab2a3d04c38bcdd Mon Sep 17 00:00:00 2001
From: fheinrich <fheinrich@techfak.uni-bielefeld.de>
Date: Wed, 16 Oct 2024 17:21:22 +0200
Subject: [PATCH] Small fix when generating layout thumbnail

---
 cooperative_cuisine/pygame_2d_vis/generate_layout_thumbnail.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cooperative_cuisine/pygame_2d_vis/generate_layout_thumbnail.py b/cooperative_cuisine/pygame_2d_vis/generate_layout_thumbnail.py
index 3aae3a92..907cd175 100644
--- a/cooperative_cuisine/pygame_2d_vis/generate_layout_thumbnail.py
+++ b/cooperative_cuisine/pygame_2d_vis/generate_layout_thumbnail.py
@@ -74,7 +74,7 @@ def layout_thumbnail(layout_path, vis, max_size, item_lookup, layout_hashes, lay
             return t
         if t in item_lookup:
             i = item_lookup[t]
-            if i.type == ItemType.Equipment and i.equipment:
+            if i.type == ItemType.Equipment and i.equipment and i.name != "Plate":
                 return i.equipment.name
             if i.type == ItemType.Ingredient:
                 return f"{t}Dispenser"
-- 
GitLab