Merge pull request #1775 from Prototik/patch-1
[1.7.10] Fix FluidRegsitry.registerFluid
This commit is contained in:
commit
24802143eb
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ public abstract class FluidRegistry
|
||||||
*/
|
*/
|
||||||
public static boolean registerFluid(Fluid fluid)
|
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());
|
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;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue