mirror of
https://github.com/mt-mods/playerfactions.git
synced 2024-11-22 15:23:47 +01:00
Remove test function 'ses' that I forget
This commit is contained in:
parent
63485e4b7a
commit
fa20136630
5
init.lua
5
init.lua
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user