From ab8cfb902da786f332a8fbd2582e69bff36b0ac7 Mon Sep 17 00:00:00 2001 From: Flibe <85970456+Flibe-XI@users.noreply.github.com> Date: Mon, 4 Dec 2023 10:35:27 -0500 Subject: [PATCH] Fixed null player check --- scripts/missions/amk/helpers.lua | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/missions/amk/helpers.lua b/scripts/missions/amk/helpers.lua index 5459956c686..46c2fd73c0a 100644 --- a/scripts/missions/amk/helpers.lua +++ b/scripts/missions/amk/helpers.lua @@ -57,11 +57,7 @@ end -- a local var that is set once by the first player is called by onMobDeath -- The rest of the players in alliance get the same outcome as the first xi.amk.helpers.cardianOrbDrop = function(mob, player, orb) - if - player:getCurrentMission(xi.mission.log_id.AMK) < xi.mission.id.amk.AN_ERRAND_THE_PROFESSORS_PRICE or - player == nil or - orb == nil - then + if player == nil then return end