mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
Fix lavatank canFill not respecting liquids in tank #1208
This commit is contained in:
1 parent
ea875724bd
commit
791fe9494f
1 file changed
+1
-1
@@ -57,7 +57,7 @@ public class LavaTankLogic extends MultiServantLogic implements IFluidHandler
|
||||
@Override
|
||||
public boolean canFill (ForgeDirection from, Fluid fluid)
|
||||
{
|
||||
return tank.getFluidAmount() == 0 || tank.getFluidAmount() < tank.getCapacity();
|
||||
return tank.getFluidAmount() == 0 || (tank.getFluid().getFluid() == fluid && tank.getFluidAmount() < tank.getCapacity());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user