Fixed hashcode in FluidContainerRegistry, still needs a redesign. Closes #967
This commit is contained in:
parent
ee7aa93416
commit
246152d3c4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue