Fixed display issues when no MCM is installed

This commit is contained in:
Wofsauge committed 2020-11-30 21:38:17 +01:00
1 parent 1ed40d6c92
commit 931d505bc9
3 files changed
+9 -7

No files matched your search

+2
View File
@@ -302,6 +302,8 @@ local function onRender(t)
local player = Isaac.GetPlayer(0)
if player:HasCollectible(CollectibleType.COLLECTIBLE_SCHOOLBAG) then
EID:addTextPosModifier("Schoolbag", Vector(0,30))
else
EID:removeTextPosModifier("Schoolbag")
end
if EID.isDisplayingPermanent and EID.permanentDisplayTextObj ~= nil then