From 9d8fe6a5aad83a26a811bdbc66994e73fe115d11 Mon Sep 17 00:00:00 2001 From: Buurazu Date: Fri, 28 Jan 2022 16:45:05 -0500 Subject: [PATCH] just in case --- eid_modifiers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eid_modifiers.lua b/eid_modifiers.lua index 52a0b1cf..b10c17e7 100644 --- a/eid_modifiers.lua +++ b/eid_modifiers.lua @@ -419,7 +419,7 @@ if REPENTANCE then if collectiblesOwned[711] and EID:getEntityData(descObj.Entity, "EID_FlipItemID") then table.insert(callbacks, FlipCallback) end if collectiblesOwned[723] or (EID.absorbedItems[723] and collectiblesOwned[477]) then table.insert(callbacks, SpindownDiceCallback) end -- currently, only Repentance collectible modifiers have Tab previews so put it here - if Input.IsActionPressed(ButtonAction.ACTION_MAP, EID.player.ControllerIndex) and not inPreview then table.insert(callbacks, TabCallback) end + if EID.player and Input.IsActionPressed(ButtonAction.ACTION_MAP, EID.player.ControllerIndex) and not inPreview then table.insert(callbacks, TabCallback) end -- Card / Rune Callbacks elseif descObj.ObjVariant == PickupVariant.PICKUP_TAROTCARD then