Confirmed some fixes related to BN

This commit is contained in:
Frank 2022-03-18 16:03:45 +01:00
parent 61f9854cd5
commit a9c9a7359b
23 changed files with 25 additions and 70 deletions

View file

@ -23,7 +23,6 @@ public abstract class ItemPredicateBuilderMixin {
@Inject(method = "matches", at = @At("HEAD"), cancellable = true)
void bclib_of(ItemStack itemStack, CallbackInfoReturnable<Boolean> cir) {
if (this.items != null && this.items.size() == 1 && this.items.contains(Items.SHEARS)) {
//TODO: 1.18.2 See if removing minable_shears test is having an efffect...
if (itemStack.is(CommonItemTags.SHEARS) ){
cir.setReturnValue(true);
}