Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Item drops from cursor slot when killed while in a keep-inventory: true region #272

Open
accLarson opened this issue Jun 26, 2024 · 7 comments

Comments

@accLarson
Copy link

If you are holding an item with your cursor while killed in a region set with keep-inventory:true, that item will drop.

@accLarson accLarson changed the title Item drops from curser slot when killed while in a keep-inventory: true region Item drops from cursor slot when killed while in a keep-inventory: true region Jun 26, 2024
@aromaa
Copy link
Owner

aromaa commented Jun 26, 2024

Well this is just unfortunate side effect of dying. The inventory closes which then causes the current item to be dropped, all normal behavior. After that the actual death occurs and the handling of item drops etc. I don't think I can do much about this without making it a bit clunky.

@accLarson
Copy link
Author

I see, this would be the case with vanilla gamerule keep-inventory as well?

@aromaa
Copy link
Owner

aromaa commented Jun 26, 2024

I would be surprised if it didn't.

@accLarson
Copy link
Author

Confirmed.
Same behavior in the vanilla gamerule.

Not ideal Mojang
Thanks!

@accLarson
Copy link
Author

any chance of a WorldGuardExtraFlags fox for it?

@aromaa
Copy link
Owner

aromaa commented Jun 26, 2024

Its something I can look at

@accLarson
Copy link
Author

Thanks,
I'll also submit a ticket to Mojang as they may consider this a bug to fix as well.

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

No branches or pull requests

2 participants