Fixing compression glitches
This commit is contained in:
parent
174d56b8ff
commit
5224b808c3
7 changed files with 45 additions and 5 deletions
|
@ -562,4 +562,9 @@ public class SpellHelper
|
|||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public static boolean areItemStacksEqual(ItemStack stack, ItemStack compressedStack)
|
||||
{
|
||||
return stack.isItemEqual(compressedStack) && (stack.getTagCompound() == null ? compressedStack.getTagCompound() == null : stack.getTagCompound().equals(compressedStack.getTagCompound()));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue