Fixed /f invite

This commit is contained in:
shamoanjac 2016-08-20 09:34:09 +02:00
parent 4d53e4cc40
commit 529ad8bf4a
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ factions.register_command = function(cmd_name, cmd)
end
elseif argtype == "player" then
local pl = minetest.get_player_by_name(arg)
if not pl or not factions.player[arg] then
if not pl or not factions.players[arg] then
send_error(player, "Player is not online.")
return false
else