forked from MineClone5/MineClone5
Reduce player particles on effect
This commit is contained in:
parent
fae5c8284e
commit
982c976a83
|
@ -418,7 +418,7 @@ function mcl_potions._add_spawner(obj, color)
|
||||||
local d = 0.2
|
local d = 0.2
|
||||||
local pos = obj:get_pos()
|
local pos = obj:get_pos()
|
||||||
minetest.add_particlespawner({
|
minetest.add_particlespawner({
|
||||||
amount = 2,
|
amount = 1,
|
||||||
time = 1,
|
time = 1,
|
||||||
minpos = {x=pos.x-d, y=pos.y+1, z=pos.z-d},
|
minpos = {x=pos.x-d, y=pos.y+1, z=pos.z-d},
|
||||||
maxpos = {x=pos.x+d, y=pos.y+2, z=pos.z+d},
|
maxpos = {x=pos.x+d, y=pos.y+2, z=pos.z+d},
|
||||||
|
|
Loading…
Reference in New Issue