Fix the tap particles spilling out of the sink

This commit is contained in:
Pedro Gimeno
2019-03-24 18:38:27 +01:00
parent ac71c0f189
commit 52375443ed
2 changed files with 17 additions and 13 deletions

View File

@ -71,6 +71,7 @@ function homedecor.start_particle_spawner(pos, node, particledef, soundname)
amount = 60,
time = 0,
collisiondetection = true,
collision_removal = particledef.die_on_collision,
minpos = {x=pos.x - minx, y=pos.y + outlety, z=pos.z - minz},
maxpos = {x=pos.x - maxx, y=pos.y + outlety, z=pos.z - maxz},
minvel = {x = minvelx, y = velocityy, z = minvelz},