Skip to content

Conversation

lucasgrizante
Copy link
Contributor

Pull Request Prelude

Changes Proposed

If an item is not valid (it doesn't exist in items.xml), do not allow
NPC to show it on trade window.

Issues addressed:

Steps to reproduce issue:
Create an npc that sells or buys an item that doesn't exist (for instance, copying from other distros with more items, such as tibia 12 items in 10.98 TFS distro) and ask him/her to trade. You'll see some empty items.

If an item is not valid (it doesn't exist in items.xml), do not allow
NPC to show it on trade window.

Signed-off-by: Lucas Henrique Grizante <lucasgrizante95@gmail.com>
@ghost ghost requested review from a user, DSpeichert, nekiro and ranisalt November 7, 2021 16:44
@ghost ghost merged commit 431734b into otland:master Nov 13, 2021
Znote pushed a commit to Znote/forgottenserver that referenced this pull request Jan 30, 2022
DSpeichert pushed a commit that referenced this pull request May 9, 2022
This pull request was closed.
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.

2 participants