Add give argument to skull command
Information
This PR closes #5762.
Details
Proposed feature:
This adds the ability to give a skull to another player using the /skull command with a second argument, if you only provide one argument the command will work as it previously did.
The new usage of the skull command is:
/<command> [owner] [player]
Environments tested:
OS: Windows 11
Java version: 21
- [x] Most recent Paper version (1.20.6, git-Paper-137)
- [ ] CraftBukkit/Spigot/Paper 1.12.2
- [ ] CraftBukkit 1.8.8
Demonstration:
This gives the dinnerbone's skull to trashdrumlinfly:
trashdrumlinfly received dinnerbone's skull
The command can still be used as how it worked before by just providing the first argument.
bump
overall looks fine, can you just update the
skullCommandUsagemessages in themessages.propertiesfile
Apologies for the interruption, can this PR be merged now? I would like to utilize this feature in the menu to provide players with skulls.
Thanks for the contribution :)