Remove test function 'ses' that I forget

This commit is contained in:
Supergoat666 2020-08-18 14:03:21 +02:00
parent 63485e4b7a
commit fa20136630

@ -160,10 +160,7 @@ local function handle_command(name, param)
minetest.chat_send_player(name, S("Unknown subcommand. Run '/help factions' for help")) minetest.chat_send_player(name, S("Unknown subcommand. Run '/help factions' for help"))
end end
local action = params[1] local action = params[1]
if action == "ses" then if action == "create" then
minetest.chat_send_player(name,type(factions.max_members_list))
minetest.chat_send_player(name,type(factions.mode_unique_faction))
elseif action == "create" then
local faction_name = params[2] local faction_name = params[2]
local password = params[3] local password = params[3]
if factions.mode_unique_faction and factions.get_player_faction(name) ~= nil then if factions.mode_unique_faction and factions.get_player_faction(name) ~= nil then