Compare commits
2 Commits
d9f905d957
...
4bea077d36
| Author | SHA1 | Date | |
|---|---|---|---|
|
4bea077d36
|
|||
|
74d6ccc24f
|
@@ -47,9 +47,7 @@ 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;
|
||||
});
|
||||
FORBIDDEN_TYPES.forEach(stack::resetData);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user