Fixed hashcode in FluidContainerRegistry, still needs a redesign. Closes #967

This commit is contained in:
Lex Manos 2014-02-23 16:56:16 -08:00
parent ee7aa93416
commit 246152d3c4

View file

@ -48,7 +48,7 @@ public abstract class FluidContainerRegistry
public int hashCode()
{
int code = 1;
code = 31*code + container.hashCode();
code = 31*code + container.getItem().hashCode();
code = 31*code + container.getItemDamage();
if (fluid != null)
code = 31*code + fluid.fluidID;