Fixed /f invite
This commit is contained in:
parent
d1c4a3e40f
commit
b882008c91
@ -63,7 +63,7 @@ factions.register_command = function(cmd_name, cmd)
|
|||||||
end
|
end
|
||||||
elseif argtype == "player" then
|
elseif argtype == "player" then
|
||||||
local pl = minetest.get_player_by_name(arg)
|
local pl = minetest.get_player_by_name(arg)
|
||||||
if not pl or not factions.players[arg] then
|
if not pl and not factions.players[arg] then
|
||||||
send_error(player, "Player is not online.")
|
send_error(player, "Player is not online.")
|
||||||
return false
|
return false
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user