Signed-off-by: Chaoscaot <max@maxsp.de>
This commit is contained in:
2026-01-03 02:22:55 +01:00
parent d9f905d957
commit 74d6ccc24f
@@ -47,9 +47,6 @@ public class ReflectionWrapper21 implements ReflectionWrapper {
@Override
public boolean hasItems(ItemStack stack) {
return stack.getDataTypes().stream().filter(FORBIDDEN_TYPES::contains).allMatch(dataComponentType -> {
System.out.println(dataComponentType);
return true;
});
return stack.getDataTypes().stream().anyMatch(FORBIDDEN_TYPES::contains);
}
}