Closed
Description
Description
When you want to remove a named item from a player's inventory, it will remove the type of that item without a name as well.
Steps to Reproduce
- Put this in a script:
command /test:
trigger:
remove diamond sword named "SuperSword" from player's inventory
message "Done!"
stop
- Get yourself a normal diamond sword. (without a name)
- Execute the command "test".
You'll see the diamond sword is removed.
Paper 1.14.4: All diamonds swords will be removed.
Paper 1.15.1: However, if the sword has another name (Killer's Sword), it won't be removed.
Expected Behavior
The diamond sword shouldn't be removed.
Errors / Screenshots
/
Server Information
- Server version/platform: Paper 1.14.4 and 1.15.1
- Skript version: 2.4
Additional Context
/