Fixes old bug id #21

This commit is contained in:
Auke Kok 2017-12-19 21:35:05 -08:00
parent 7a0e52da46
commit 0b6925f4b1
1 changed files with 2 additions and 2 deletions

View File

@ -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)