forked from SteamWar/SteamWar
+1
-4
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user