fix the Crafting option preview allowing other descs afterwards
This commit is contained in:
1 parent
52086d4a8f
commit
2b1a310fef
1 file changed
+3
@@ -992,10 +992,13 @@ local function onRender(t)
|
|||||||
|
|
||||||
if REPENTANCE and EID.player:HasCollectible(710) then
|
if REPENTANCE and EID.player:HasCollectible(710) then
|
||||||
local success = EID:handleBagOfCraftingRendering()
|
local success = EID:handleBagOfCraftingRendering()
|
||||||
|
-- If the Bag of Crafting did rendering, don't display any other description
|
||||||
if success then
|
if success then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
-- If we're in the Crafting options tab, the only rendering we want to happen is the Bag of Crafting
|
||||||
|
if EID.MCMCompat_isDisplayingEIDTab == "Crafting" then return end
|
||||||
|
|
||||||
EID.lastDescriptionEntity = nil
|
EID.lastDescriptionEntity = nil
|
||||||
EID.lastDist = 10000
|
EID.lastDist = 10000
|
||||||
|
|||||||
Reference in new issue
Block a user