mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 04:09:51 +00:00
Fixes FluidContainerRegistry properly - no more corner case where client/server mods disagree.
Also clarifies the 2x Fluid registration error message somewhat. Signed-off-by: King Lemming <[email protected]>
This commit is contained in:
1 parent
7e9dfb1a11
commit
186f92479d
2 files changed
+4
-3
No files matched your search
@@ -51,7 +51,7 @@ public abstract class FluidContainerRegistry
|
||||
code = 31*code + container.getItem().hashCode();
|
||||
code = 31*code + container.getItemDamage();
|
||||
if (stack != null)
|
||||
code = 31*code + stack.getFluidID();
|
||||
code = 31*code + stack.fluid.hashCode();
|
||||
return code;
|
||||
}
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user