don't allow placing of fluids when there is less that 1b in the system, fixes #653

This commit is contained in:
way2muchnoise
2016-11-20 20:47:28 +01:00
parent c8688fe8a6
commit 558bbdf09e

View File

@@ -113,7 +113,7 @@ public class TileConstructor extends TileMultipartNode implements IComparable, I
} else if (type == IType.FLUIDS) {
FluidStack stack = fluidFilters.getFluidStackInSlot(0);
if (stack != null && stack.getFluid().canBePlacedInWorld()) {
if (stack != null && stack.getFluid().canBePlacedInWorld() && stack.amount >= 1000) {
BlockPos front = pos.offset(getDirection());
Block block = stack.getFluid().getBlock();