mirror of
https://github.com/mt-mods/playerfactions.git
synced 2024-11-25 08:43:44 +01:00
fix error in case handling
This commit is contained in:
parent
0c0e7548c1
commit
0d19660379
3
init.lua
3
init.lua
@ -258,7 +258,8 @@ local function handle_command(name, param)
|
||||
else
|
||||
return false, S("You are in many factions, you have to choose one of them: @1.", table.concat(player_factions, ", "))
|
||||
end
|
||||
elseif facts[faction_name] == nil then
|
||||
end
|
||||
if facts[faction_name] == nil then
|
||||
return false, S("This faction doesn't exists.")
|
||||
else
|
||||
local fmembers = ""
|
||||
|
Loading…
Reference in New Issue
Block a user