diff --git a/data-otservbr-global/npc/tarun.lua b/data-otservbr-global/npc/tarun.lua index c3702a3205c..9adfc3e629b 100644 --- a/data-otservbr-global/npc/tarun.lua +++ b/data-otservbr-global/npc/tarun.lua @@ -103,6 +103,9 @@ end local function onTradeRequest(npc, creature) local player = Player(creature) + if not player then + return false + end local playerId = player:getId() if player:getStorageValue(Storage.AdventurersGuild.TheLostBrother) ~= 3 then