mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-08-04 03:27:19 -04:00
Merge branch 'master-MC1.10' into master-MC1.11
# Conflicts: # src/main/scala/li/cil/oc/util/FluidUtils.scala
This commit is contained in:
commit
ba7e110c5f
@ -174,7 +174,7 @@ object FluidUtils {
|
||||
def canFill(fluid: Fluid): Boolean = fluid.canBePlacedInWorld
|
||||
|
||||
override def fill(resource: FluidStack, doFill: Boolean): Int = {
|
||||
if (resource != null && resource.getFluid.canBePlacedInWorld && resource.getFluid.getBlock != null) {
|
||||
if (resource != null && resource.getFluid.canBePlacedInWorld && resource.getFluid.getBlock != null && resource.amount >= 1000) {
|
||||
if (doFill) {
|
||||
val world = position.world.get
|
||||
if (!world.isAirBlock(position) && !world.containsAnyLiquid(position.bounds))
|
||||
|
Loading…
x
Reference in New Issue
Block a user