diff --git a/src/main/java/net/minecraftforge/fluids/FluidContainerRegistry.java b/src/main/java/net/minecraftforge/fluids/FluidContainerRegistry.java index 12599faba..05b29c23b 100644 --- a/src/main/java/net/minecraftforge/fluids/FluidContainerRegistry.java +++ b/src/main/java/net/minecraftforge/fluids/FluidContainerRegistry.java @@ -54,6 +54,11 @@ public abstract class FluidContainerRegistry code = 31*code + fluid.fluidID; return code; } + @Override + public boolean equals(Object o) + { + return o != null && o.hashCode() == hashCode(); + } } private static Map containerFluidMap = Maps.newHashMap();