diff --git a/eid_bagofcrafting.lua b/eid_bagofcrafting.lua index 8cd60cda..c443533d 100644 --- a/eid_bagofcrafting.lua +++ b/eid_bagofcrafting.lua @@ -514,7 +514,7 @@ local moddedCrafting = false -- Only works if the new items are at Weight 1.0 in their item pools, but better than nothing local function GameStartCrafting() if EID.Config["BagOfCraftingModdedRecipes"] and not EID:PlayersHaveCollectible(CollectibleType.COLLECTIBLE_TMTRAINER) and EID.itemConfig:GetCollectible(EID.XMLMaxItemID+1) ~= nil then - dofile("eid_xmldata") + dofile(EID.modPath .. "eid_xmldata.lua") -- Items past max ID detected CraftingMaxItemID = EID.XMLMaxItemID -- XMLMaxItemID is never modified -- Add new item qualities @@ -542,7 +542,7 @@ local function GameStartCrafting() sortNeeded = true elseif moddedCrafting then -- we had modded items; they have since been disabled - dofile("eid_xmldata") + dofile(EID.modPath .. "eid_xmldata.lua") moddedCrafting = false sortNeeded = true end