Use the input item object hashcode for determining SmelteryInput's hashcode, instead of the live item id

This commit is contained in:
Tonius committed 2014-08-11 13:28:06 +02:00
1 parent 7c510f2e15
commit 0e08c46a8a
1 file changed
+1 -1
@@ -243,7 +243,7 @@ public class Smeltery
@Override
public int hashCode ()
{
return Item.getIdFromItem(this.input) << 16 | this.meta;
return this.input.hashCode() << 16 | this.meta;
}
@Override