Fixed drainContainers not checking to see if it can fill

This commit is contained in:
modmuss50 2015-05-16 21:55:27 +01:00
parent 44a21fd13d
commit 1726d4c7a3
2 changed files with 11 additions and 27 deletions

View file

@ -103,7 +103,7 @@ public class TileThermalGenerator extends TileEntity implements IWrenchable,
{
if (fluid != null)
{
if (FluidRegistry.getFluidName(fluid.getID()).contentEquals("lava"))
if (fluid == FluidRegistry.LAVA)
{
return true;
}