Skip to content

Commit

Permalink
fix: error in foods.lua (#2363)
Browse files Browse the repository at this point in the history
  • Loading branch information
lamonato29 authored Mar 6, 2024
1 parent 17ae8a7 commit 2642286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/scripts/actions/items/foods.lua
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ local foods = {
local food = Action()

function food.onUse(player, item, fromPosition, target, toPosition, isHotkey)
local itemFood = setting[item.itemid]
local itemFood = foods[item.itemid]
if not itemFood then
return false
end
Expand Down

0 comments on commit 2642286

Please sign in to comment.