From 6f1b665c4c6fa3eef5dc121141381ec0b34ba6dd Mon Sep 17 00:00:00 2001 From: pbd2h21avi Date: Fri, 16 Dec 2022 09:13:18 +0100 Subject: [PATCH] getTyp() angepasst --- src/Menue.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Menue.java b/src/Menue.java index c600512..477159b 100644 --- a/src/Menue.java +++ b/src/Menue.java @@ -105,7 +105,7 @@ public class Menue { } public String getTyp() { - if (typ.equals("DessertV") || typ.equals("Dessert")) { + if (typ.contains("DessertV") || typ.contains("Dessert")) { return ""; } else {