mirror of
https://github.com/minetest-mods/areas.git
synced 2025-07-05 01:20:24 +02:00
Resolve comments
This commit is contained in:
@ -289,10 +289,8 @@ if areas.factions_available then
|
|||||||
params = S("<ID> [faction_name]"),
|
params = S("<ID> [faction_name]"),
|
||||||
description = S("Toggle an area open/closed for members in your faction."),
|
description = S("Toggle an area open/closed for members in your faction."),
|
||||||
func = function(name, param)
|
func = function(name, param)
|
||||||
local params = {}
|
params = param:split(" ")
|
||||||
for p in string.gmatch(param, "[^%s]+") do
|
|
||||||
table.insert(params, p)
|
|
||||||
end
|
|
||||||
local id = tonumber(params[1])
|
local id = tonumber(params[1])
|
||||||
|
|
||||||
if not id then
|
if not id then
|
||||||
|
Reference in New Issue
Block a user