mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 11:29:15 +00:00
Fixed hashcode in FluidContainerRegistry, still needs a redesign. Closes #967
This commit is contained in:
1 parent
ee7aa93416
commit
246152d3c4
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user