Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: error in foods.lua #2363

Merged
merged 5 commits into from
Mar 6, 2024
Merged

fix: error in foods.lua #2363

merged 5 commits into from
Mar 6, 2024

Conversation

lamonato29
Copy link
Contributor

@lamonato29 lamonato29 commented Mar 2, 2024

Description

This fixes a error in console. The code was looking for a table called settings, but the correct name of the table is foods.

Behaviour

Actual

Cannot eat food.
tibia

Expected

Eat and consume the food.

Fixes #2380

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I checked the PR checks reports
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works

@dudantas dudantas changed the title Fix: error in foods.lua and fixing wrong id fix: error in foods.lua and fixing wrong id Mar 5, 2024
The raid of rats in Thais is missing.
data-otservbr-global/raids/raids.xml Outdated Show resolved Hide resolved
data/scripts/actions/items/garlic_bread.lua Outdated Show resolved Hide resolved
@lamonato29 lamonato29 requested a review from omarcopires March 6, 2024 18:25
@omarcopires
Copy link
Contributor

update your branch as it is still out of date!

@lamonato29
Copy link
Contributor Author

update your branch as it is still out of date!

Done!

@elsongabriel
Copy link
Contributor

elsongabriel commented Mar 6, 2024

@lamonato29 Please include a summary in this PR of the change and which issue is fixed.

@lamonato29 lamonato29 changed the title fix: error in foods.lua and fixing wrong id fix: error in foods.lua Mar 6, 2024
@elsongabriel elsongabriel merged commit 2642286 into opentibiabr:main Mar 6, 2024
19 checks passed
@lamonato29 lamonato29 deleted the Fix branch March 7, 2024 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Food not fulling character
4 participants