mirror of
https://github.com/mt-mods/playerfactions.git
synced 2024-11-26 09:13:44 +01:00
remove code that is never reached
This commit is contained in:
parent
0063990b28
commit
442c2c5209
3
init.lua
3
init.lua
@ -203,9 +203,6 @@ local function handle_command(name, param)
|
|||||||
for p in string.gmatch(param, "[^%s]+") do
|
for p in string.gmatch(param, "[^%s]+") do
|
||||||
table.insert(params, p)
|
table.insert(params, p)
|
||||||
end
|
end
|
||||||
if params == nil then
|
|
||||||
return false, S("Unknown subcommand. Run '/help factions' for help.")
|
|
||||||
end
|
|
||||||
local action = params[1]
|
local action = params[1]
|
||||||
if action == "create" then
|
if action == "create" then
|
||||||
local faction_name = params[2]
|
local faction_name = params[2]
|
||||||
|
Loading…
Reference in New Issue
Block a user