Fixed a Portable Tank crash

This commit is contained in:
Aidan Brady 2014-10-26 15:19:00 -04:00
parent 10107678d1
commit 1b665d99e2

View file

@ -553,7 +553,7 @@ public class TileEntityPortableTank extends TileEntityContainerBlock implements
{
if(fluidTank != null)
{
if(fluid == null || fluidTank.getFluid().getFluid() == fluid)
if(fluid == null || fluidTank.getFluid() != null && fluidTank.getFluid().getFluid() == fluid)
{
if(isActive)
{