Signed-off-by: Chaoscaot <max@maxsp.de>
This commit is contained in:
2026-01-02 14:08:49 +01:00
parent 1f64c3383d
commit 663a745d8f
@@ -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);
}
}