Merge pull request #1775 from Prototik/patch-1

[1.7.10] Fix FluidRegsitry.registerFluid
This commit is contained in:
LexManos 2015-04-08 09:25:01 -07:00
commit 24802143eb
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ public abstract class FluidRegistry
*/
public static boolean registerFluid(Fluid fluid)
{
if (fluidIDs.containsKey(fluid.getName()))
if (fluids.containsKey(fluid.getName()))
{
FMLLog.bigWarning("Duplicate registration attempt for fluid %s (type %s) has occurred. This is not a problem itself, but subsequent failed FluidStacks might be a result if not handled properly", fluid.getName(), fluid.getClass().getName());
return false;