don't allow placing of fluids when there is less that 1b in the system, fixes #653
This commit is contained in:
@@ -113,7 +113,7 @@ public class TileConstructor extends TileMultipartNode implements IComparable, I
|
|||||||
} else if (type == IType.FLUIDS) {
|
} else if (type == IType.FLUIDS) {
|
||||||
FluidStack stack = fluidFilters.getFluidStackInSlot(0);
|
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());
|
BlockPos front = pos.offset(getDirection());
|
||||||
|
|
||||||
Block block = stack.getFluid().getBlock();
|
Block block = stack.getFluid().getBlock();
|
||||||
|
Reference in New Issue
Block a user