From 663a745d8fc23373ae0a1e7981e063e55e5cef6d Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Fri, 2 Jan 2026 14:08:49 +0100 Subject: [PATCH] Fix Kits Signed-off-by: Chaoscaot --- .../src/de/steamwar/fightsystem/utils/ReflectionWrapper21.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FightSystem/FightSystem_21/src/de/steamwar/fightsystem/utils/ReflectionWrapper21.java b/FightSystem/FightSystem_21/src/de/steamwar/fightsystem/utils/ReflectionWrapper21.java index 118bfba1..3b9f901d 100644 --- a/FightSystem/FightSystem_21/src/de/steamwar/fightsystem/utils/ReflectionWrapper21.java +++ b/FightSystem/FightSystem_21/src/de/steamwar/fightsystem/utils/ReflectionWrapper21.java @@ -31,6 +31,6 @@ public class ReflectionWrapper21 implements ReflectionWrapper { @Override public boolean hasItems(ItemStack stack) { - return stack.getDataTypes().stream().anyMatch(dataComponentType -> dataComponentType != DataComponentTypes.ENCHANTMENTS || dataComponentType != DataComponentTypes.DAMAGE); + return stack.getDataTypes().stream().anyMatch(dataComponentType -> dataComponentType != DataComponentTypes.ENCHANTMENTS); } }