From d7ac1b7cb5eaac765995b02492ef77b1673686b3 Mon Sep 17 00:00:00 2001 From: AFCMS Date: Wed, 31 Mar 2021 19:41:37 +0200 Subject: [PATCH] fix bug --- mods/CORE/mcl_commands/utils.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/CORE/mcl_commands/utils.lua b/mods/CORE/mcl_commands/utils.lua index ccc69b7523..80374cdee8 100644 --- a/mods/CORE/mcl_commands/utils.lua +++ b/mods/CORE/mcl_commands/utils.lua @@ -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