Skip to content

Commit

Permalink
Fix dupe-bug-fix with fluid draining from casting blocks..
Browse files Browse the repository at this point in the history
  • Loading branch information
bonii-xx committed Sep 11, 2014
1 parent a489b67 commit 5cc701f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -258,7 +258,7 @@ public FluidStack drain (ForgeDirection from, int maxDrain, boolean doDrain)
public FluidStack drain (ForgeDirection from, FluidStack resource, boolean doDrain)
{
if (liquid.getFluid() == resource.getFluid())
this.drain(resource.amount, doDrain);
return this.drain(resource.amount, doDrain);
return null;
}

Expand Down
Expand Up @@ -258,7 +258,7 @@ public FluidStack drain (ForgeDirection from, int maxDrain, boolean doDrain)
public FluidStack drain (ForgeDirection from, FluidStack resource, boolean doDrain)
{
if (liquid.getFluid() == resource.getFluid())
this.drain(resource.amount, doDrain);
return this.drain(resource.amount, doDrain);
return null;
}

Expand Down

0 comments on commit 5cc701f

Please sign in to comment.