Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.

GM command giveItem displays a message that its given the player the item even when it can't #2646

Open
3 tasks done
SirGouki opened this issue Feb 18, 2021 · 1 comment
Open
3 tasks done

Comments

@SirGouki
Copy link

SirGouki commented Feb 18, 2021

  • I have searched existing issues (https://github.com/topaz-next/topaz/issues) to see if the issue has already been opened
  • I have checked the commit log to see if the issue has been resolved since my server was last updated
  • This issue occurs on release branch (if other branch, please specify)

Additional Information (Steps to reproduce/Expected behavior) :
when using the gm command !giveItem 21750 (this is the rare/ex lvl 119 guttler bst axe) and you already have it, the game will correctly print the "You cannot posses more than one of that item", but then will incorrectly send the message "Obtained: guttler"

image

@ghost
Copy link

ghost commented Feb 27, 2021

Issue only exists with the GM command. messageSpecial for ITEM_OBTAINED is called so long as there are free slots in the player's inventory. Since it is rare, this is not accounted for.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant