More consolidated fluid container management- I've been meaning to get to this for a long time

This commit is contained in:
aidancbrady committed 2016-03-06 02:15:56 -05:00
1 parent d77de295f2
commit d332ad49b7
11 files changed
+321 -564

No files matched your search

@@ -65,7 +65,14 @@ 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)));
boolean wildcard = equalsWildcard(wild, check);
if(wild == null || check == null)
{
return wildcard;
}
return wildcard && (wild.stackTagCompound == null ? check.stackTagCompound == null : (wild.stackTagCompound == check.stackTagCompound || wild.stackTagCompound.equals(check.stackTagCompound)));
}
public static List<ItemStack> even(ItemStack stack1, ItemStack stack2)