forked from VoxeLibre/VoxeLibre
fix bug
This commit is contained in:
parent
d00a5c74d2
commit
d7ac1b7cb5
|
@ -2,7 +2,7 @@ local S = minetest.get_translator("mcl_commands")
|
|||
|
||||
function mcl_commands.get_target_selector(target, pos, name)
|
||||
if minetest.player_exists(target) then
|
||||
return minetest.get_player_by_name(target)
|
||||
return nil, minetest.get_player_by_name(target)
|
||||
elseif target == "@a" then
|
||||
return nil, minetest.get_connected_players()
|
||||
elseif target == "@r" then
|
||||
|
|
Loading…
Reference in New Issue