Fixed Weird fuzzy business
This commit is contained in:
@@ -39,6 +39,7 @@ public class AEItemDef
|
||||
t.damageValue = damageValue;
|
||||
t.dspDamage = dspDamage;
|
||||
t.maxDamage = maxDamage;
|
||||
t.tagCompound = tagCompound;
|
||||
return t;
|
||||
}
|
||||
|
||||
@@ -71,4 +72,10 @@ public class AEItemDef
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public void reHash()
|
||||
{
|
||||
def = item.itemID << Platform.DEF_OFFSET | damageValue;
|
||||
myHash = def ^ (tagCompound == null ? 0 : System.identityHashCode( tagCompound ));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user