Skip to content

Commit

Permalink
Fixed major bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Majrusz committed Aug 28, 2022
1 parent 8de6e8b commit dfeaa7f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public static ItemStack findAccessory( LivingEntity entity, AccessoryItem item )
}
} else {
ItemStack itemStack = entity.getOffhandItem();
if( itemStack.getItem() instanceof AccessoryItem ) {
if( itemStack.is( item ) ) {
return itemStack;
}
}
Expand Down

0 comments on commit dfeaa7f

Please sign in to comment.