mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 04:32:26 +00:00
Fluid-API fixes for Forge 1355+
This commit is contained in:
1 parent
8a171261fa
commit
0198ba8012
6 files changed
+12
-12
No files matched your search
@@ -247,7 +247,7 @@ public abstract class CastingBlockLogic extends InventoryLogic implements IFluid
|
||||
@Override
|
||||
public FluidStack drain (int maxDrain, boolean doDrain)
|
||||
{
|
||||
if (liquid == null || liquid.fluidID <= 0 || castingDelay > 0)
|
||||
if (liquid == null || liquid.getFluid() == null || liquid.getFluidID() <= 0 || castingDelay > 0)
|
||||
return null;
|
||||
if (liquid.amount <= 0)
|
||||
return null;
|
||||
|
||||
Reference in new issue
Block a user