diff --git a/mods/ITEMS/mcl_portals/portal_nether.lua b/mods/ITEMS/mcl_portals/portal_nether.lua index 0ed0ddcb1e..eb4803e33c 100644 --- a/mods/ITEMS/mcl_portals/portal_nether.lua +++ b/mods/ITEMS/mcl_portals/portal_nether.lua @@ -374,22 +374,22 @@ minetest.register_abm({ interval = 1, chance = 2, action = function(pos, node) - minetest.add_particlespawner( - 32, --amount - 4, --time - {x = pos.x - 0.25, y = pos.y - 0.25, z = pos.z - 0.25}, --minpos - {x = pos.x + 0.25, y = pos.y + 0.25, z = pos.z + 0.25}, --maxpos - {x = -0.8, y = -0.8, z = -0.8}, --minvel - {x = 0.8, y = 0.8, z = 0.8}, --maxvel - {x = 0, y = 0, z = 0}, --minacc - {x = 0, y = 0, z = 0}, --maxacc - 0.5, --minexptime - 1, --maxexptime - 1, --minsize - 2, --maxsize - false, --collisiondetection - "mcl_particles_teleport.png" --texture - ) + minetest.add_particlespawner({ + amount = 32, + time = 4, + minpos = {x = pos.x - 0.25, y = pos.y - 0.25, z = pos.z - 0.25}, + maxpos = {x = pos.x + 0.25, y = pos.y + 0.25, z = pos.z + 0.25}, + minvel = {x = -0.8, y = -0.8, z = -0.8}, + maxvel = {x = 0.8, y = 0.8, z = 0.8}, + minacc = {x = 0, y = 0, z = 0}, + maxacc = {x = 0, y = 0, z = 0}, + minexptime = 0.5, + maxexptime = 1, + minsize = 1, + maxsize = 2, + collisiondetection = false, + texture = "mcl_particles_teleport.png", + }) for _,obj in ipairs(minetest.get_objects_inside_radius(pos,1)) do --maikerumine added for objects to travel local lua_entity = obj:get_luaentity() --maikerumine added for objects to travel if obj:is_player() or lua_entity then