Fix compile errors in API package

This commit is contained in:
Ben Spiers committed 2016-01-16 14:35:01 +00:00
1 parent 1dfba5e6c9
commit 4247ba136a
71 files changed
+387 -452

No files matched your search

@@ -65,7 +65,7 @@ public final class StackUtils
public static boolean equalsWildcardWithNBT(ItemStack wild, ItemStack check)
{
return equalsWildcard(wild, check) && (wild.stackTagCompound == null ? check.stackTagCompound == null : (wild.stackTagCompound == check.stackTagCompound || wild.stackTagCompound.equals(check.stackTagCompound)));
return equalsWildcard(wild, check) && (!wild.hasTagCompound() ? !check.hasTagCompound() : (wild.getTagCompound() == check.getTagCompound() || wild.getTagCompound().equals(check.getTagCompound())));
}
public static List<ItemStack> even(ItemStack stack1, ItemStack stack2)