From 587f63d58041545d5044239cb60736159d40f530 Mon Sep 17 00:00:00 2001 From: Neckbeard Date: Mon, 25 Sep 2023 21:43:43 -0400 Subject: [PATCH] Fixes target in magian command --- scripts/commands/givemagianitem.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/commands/givemagianitem.lua b/scripts/commands/givemagianitem.lua index f3c51e2ab46..776fddad9d5 100644 --- a/scripts/commands/givemagianitem.lua +++ b/scripts/commands/givemagianitem.lua @@ -32,7 +32,7 @@ commandObj.onTrigger = function(player, target, trialId, isRewardItem) player:PrintToPlayer(string.format('Player \'%s\' does not have free space for that item!', target)) else if giveRewardItem then - xi.magian.giveRewardItem(player, trialId) + xi.magian.giveRewardItem(target, trialId) else xi.magian.giveRequiredItem(player, trialId) end