Renamed items cannot be deleted with /eclear
4drian3d opened this issue ยท 1 comments
Type of bug
Other unexpected behaviour
/ess version
output
CONSOLE issued server command: /ess version
12.06 13:42:53 [Server] INFO Server version: 1.16.5-R0.1-SNAPSHOT git-Purpur-1169 (MC: 1.16.5)
12.06 13:42:53 [Server] INFO Brand version: Purpur
12.06 13:42:53 [Server] INFO EssentialsX version: 2.19.0-dev+154-def4180
12.06 13:42:53 [Server] INFO PlaceholderAPI version: 2.10.10-DEV-null
12.06 13:42:53 [Server] INFO LuckPerms version: 5.3.42
12.06 13:42:53 [Server] INFO Vault version: 1.7.3-b131
12.06 13:42:53 [Server] INFO Citizens version: 2.0.27-SNAPSHOT (build 2302)
12.06 13:42:53 [Server] INFO Fetching version information...
12.06 13:42:53 [--------] [email protected] ran command: ess version
12.06 13:42:53 [Server] INFO You're 4 EssentialsX dev build(s) out of date!
12.06 13:42:53 [Server] INFO Download it here: https://essentialsx.net/downloads.html
Server startup log
EssentialsX config files
Error log (if applicable)
No response
Bug description
When executing: "/eclear %player% gold_ingot 1" on a new item, it is deleted correctly.
But if you rename the item on an anvil to any name, e.g. "golden ingot", it will say: "Player 'player name' does not do 1 of gold_ingot".
Steps to reproduce
- Having several items of the same type in the inventory.
- Use /eclear (user) (item) (quantity), it will work correctly.
- Rename the other items on an anvil.
- Execute the same command.
- The items will not be removed and the message will appear as if you have none.
Expected behaviour
Renamed items are deleted correctly.
Actual behaviour
It does not recognize renamed items when trying to delete them.