fixe korean language, fixed error in UpdateAllPlayerPassiveItems and improved language debugger errors

This commit is contained in:
Wofsauge committed 2024-07-30 16:55:03 +02:00
1 parent f79a5bc150
commit f686e2ec67
3 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -2296,8 +2296,8 @@ function EID:UpdateAllPlayerPassiveItems()
-- super hacky Tainted Cain active items check, mostly for transformation progress
-- Only adds up to one copy of any active, I can't think of a good way to recognize a craft of the same active twice. better than nothing
if EID.isRepentance and player:GetPlayerType() == 23 then
for i = 0, 1 do
local itemID = tostring(player:GetActiveItem(i))
for j = 0, 1 do
local itemID = tostring(player:GetActiveItem(j))
if itemID ~= "0" then
EID:InitActiveItemInteraction(itemID)
if EID.PlayerItemInteractions[playerNum].actives[itemID] == 0 then EID.PlayerItemInteractions[playerNum].actives[itemID] = 1 end