From 91978408734bb9922a4fcfc1ade096d8d78e834f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elias=20M=C3=BCller?= Date: Fri, 20 Dec 2024 13:34:32 +0100 Subject: [PATCH] removed unwanted HotbarRefill message --- .../spawn/appliances/hotbarRefill/HotbarRefill.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/eu/mhsl/craftattack/spawn/appliances/hotbarRefill/HotbarRefill.java b/src/main/java/eu/mhsl/craftattack/spawn/appliances/hotbarRefill/HotbarRefill.java index 0603576..097c9e1 100644 --- a/src/main/java/eu/mhsl/craftattack/spawn/appliances/hotbarRefill/HotbarRefill.java +++ b/src/main/java/eu/mhsl/craftattack/spawn/appliances/hotbarRefill/HotbarRefill.java @@ -46,9 +46,7 @@ public class HotbarRefill extends Appliance { player.sendActionBar(Component.text("Die Hotbar wurde aufgefüllt", NamedTextColor.GREEN)); }, 1); - } catch(NoSuchElementException ignored) { - player.sendActionBar(Component.text("Keine weiteren Items dieser Art im Inventar vorhanden", NamedTextColor.RED)); - } + } catch(NoSuchElementException ignored) {} } @Override