Skip to content

Making /dc giveback give back items like how you normally get your items back - #97

Open
retrorandom wants to merge 2 commits into
Stellionix:masterfrom
retrorandom:master
Open

Making /dc giveback give back items like how you normally get your items back#97
retrorandom wants to merge 2 commits into
Stellionix:masterfrom
retrorandom:master

Conversation

@retrorandom

Copy link
Copy Markdown

The /dc giveback command now returns people's items just as before they died and It will return all there items to the right slots including armour slots, offhand slot and Inventory slots.

Reason for this PR: When that command is used It may be hard for players to find there items if it is just on the ground around them.

Also bumped the version from 4.23.0 to 4.23.1 If you need this changed just say so.

If there is any concern with anything made here just ask for it to be changed or just close this PR.

Thank you for reading and I hope you have a wonderful rest of your day!! 💜💜

also this is my first PR ever and I haven't really worked with modern Bukkit / Spigot so feedback is greatly appreciated lol

Tests:

  • Tested with Paper 1.21.4

…e give back command puts your armour back on and if you had a offhand item it goes back there as well.
@apavarino

Copy link
Copy Markdown
Member

Hi thanks for your PR ! Good job. Sorry for the delay.

Love the idea. Can you make it configurable through the config.yml file ? Like giveBackAutoEquip: true/false

Thanks !

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