Fix Magic Skin breaking Modded Crafting

This commit is contained in:
Buurazu authored and GitHub committed 2022-06-15 01:05:13 -04:00
1 parent be67f4d40e
commit 50e44fcb7e
1 file changed
+3 -1
+3 -1
View File
@@ -543,7 +543,9 @@ local function GameStartCrafting()
for i=1,EID.XMLMaxItemID do itemPool:AddRoomBlacklist(i) end
local collID = itemPool:GetCollectible(poolNum, false, 1, 25)
while collID ~= 25 and collID > 0 do
local attempts = CraftingMaxItemID
while collID ~= 25 and collID ~= 642 and collID > 0 and attempts > 0 do
attempts = attempts - 1
table.insert(CraftingItemPools[poolNum+1], {collID, 1.0})
itemPool:AddRoomBlacklist(collID)
collID = itemPool:GetCollectible(poolNum, false, 1, 25)