Implement IFluidHandler properly on all blocks.

Should fix all ExtraCells dupe bugs.
This commit is contained in:
Bernhard Bonigl committed 2014-09-08 15:27:34 +02:00
1 parent b13e2b5340
commit 79b0c5ef86
4 files changed
+13 -3

No files matched your search

@@ -263,6 +263,8 @@ public class CastingBasinLogic extends InventoryLogic implements IFluidTank, IFl
@Override
public FluidStack drain (ForgeDirection from, FluidStack resource, boolean doDrain)
{
if(liquid.getFluid() == resource.getFluid())
this.drain(resource.amount, doDrain);
return null;
}