Skip to content

Commit

Permalink
fix: minor console errors (#2271)
Browse files Browse the repository at this point in the history
  • Loading branch information
omarcopires authored Feb 20, 2024
1 parent d584a33 commit af88e2b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ local config = {
pos = Position(33497, 32196, 7),
herbId = 5953,
herbWeight = 1,
storage = ThreatenedDreams.Mission03.RavenHerbTimer,
storage = Storage.Quest.U11_40.ThreatenedDreams.Mission03.RavenHerbTimer,
}

local createRavenHerb = GlobalEvent("createRavenHerb")
Expand Down Expand Up @@ -55,5 +55,5 @@ function ravenHerb.onUse(player, item, fromPosition, target, toPosition, isHotke
return true
end

ravenHerb:aid(ThreatenedDreams.Mission03.RavenHerbTimer)
ravenHerb:id(25783)
ravenHerb:register()
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ local npcSpawns = {

local spawnsNpcByTime = GlobalEvent("SpawnsNpcByTime")

function spawnsByTimeEvent.onPeriodChange(period)
function spawnsNpcByTime.onPeriodChange(period)
for _, npcSpawn in ipairs(npcSpawns) do
if npcSpawn.spawnPeriod == period then
local spawnNpc = Game.createNpc(npcSpawn.name, npcSpawn.position)
Expand Down
2 changes: 1 addition & 1 deletion data/libs/core/global_storage.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ Global = {
Storage = {
FamiliarSummonEvent10 = 30054,
FamiliarSummonEvent60 = 30055,
CobraFlask = 30055,
CobraFlask = 30056,
},
}

0 comments on commit af88e2b

Please sign in to comment.