Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def fuzzyEquals(stack1: ItemStack, stack2: ItemStack) = stack1.isItemEqual(stack2) || (stack1.itemID == stack2.itemID && (stack1.getItemDamage == OreDictionary.WILDCARD_VALUE || stack2.getItemDamage == OreDictionary.WILDCARD_VALUE) && ItemStack.areItemStackTagsEqual(stack1, stack2))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement