forked from minetest-mods/nether
Fixes old bug id #21
This commit is contained in:
parent
7a0e52da46
commit
0b6925f4b1
4
init.lua
4
init.lua
@ -268,7 +268,7 @@ minetest.register_abm({
|
||||
interval = 1,
|
||||
chance = 2,
|
||||
action = function(pos, node)
|
||||
minetest.add_particlespawner(
|
||||
minetest.add_particlespawner({
|
||||
32, --amount
|
||||
4, --time
|
||||
{x = pos.x - 0.25, y = pos.y - 0.25, z = pos.z - 0.25}, --minpos
|
||||
@ -283,7 +283,7 @@ minetest.register_abm({
|
||||
2, --maxsize
|
||||
false, --collisiondetection
|
||||
"nether_particle.png" --texture
|
||||
)
|
||||
})
|
||||
for _, obj in ipairs(minetest.get_objects_inside_radius(pos, 1)) do
|
||||
if obj:is_player() then
|
||||
local meta = minetest.get_meta(pos)
|
||||
|
Loading…
Reference in New Issue
Block a user