mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-27 15:33:03 +00:00
Really Remove all ItemStack == ItemStack and ComparisonHelper references.
This commit is contained in:
1 parent
4399b4f26e
commit
ca00652ad7
12 files changed
+23
-36
No files matched your search
@@ -37,10 +37,10 @@ public class ShapelessToolRecipe extends ShapelessRecipes
|
||||
|
||||
while (iterator.hasNext())
|
||||
{
|
||||
ItemStack itemstack1 = (ItemStack) iterator.next();
|
||||
ItemStack itemstack1 = (ItemStack)iterator.next();
|
||||
|
||||
// TConstruct.logger.info("Rawr! "+itemstack1.getItemDamage());
|
||||
if (itemstack == itemstack1 && (itemstack1.getItemDamage() == Short.MAX_VALUE || itemstack.getItemDamage() == itemstack1.getItemDamage()))
|
||||
if (itemstack.getItem() == itemstack1.getItem() && (itemstack1.getItemDamage() == Short.MAX_VALUE || itemstack.getItemDamage() == itemstack1.getItemDamage()))
|
||||
{
|
||||
if (itemstack.getItem() instanceof ToolCore)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user