Fix inconsistent setting for cached smoke pdef

This commit is contained in:
iliekprogrammar 2021-03-15 10:09:56 +08:00
parent 8519730ee4
commit c30e9e511d

View File

@ -88,7 +88,7 @@ local spawn_smoke = function(pos)
for i, smoke_pdef in ipairs(smoke_pdef_cached) do for i, smoke_pdef in ipairs(smoke_pdef_cached) do
smoke_pdef.minpos = new_minpos smoke_pdef.minpos = new_minpos
smoke_pdef.maxpos = new_maxpos smoke_pdef.maxpos = new_maxpos
mcl_particles.add_node_particlespawner(pos, smoke_pdef, "low") mcl_particles.add_node_particlespawner(pos, smoke_pdef, "high")
end end
end end