aromaa / WorldGuardExtraFlags

Extension for the WorldGuard plugin.
https://www.spigotmc.org/resources/worldguard-extra-flags.4823
MIT License
91 stars 72 forks source link

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

Open accLarson opened 3 months ago

accLarson commented 3 months ago

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

aromaa commented 3 months ago

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 commented 3 months ago

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

aromaa commented 3 months ago

I would be surprised if it didn't.

accLarson commented 3 months ago

Confirmed. Same behavior in the vanilla gamerule.

Not ideal Mojang Thanks!

accLarson commented 3 months ago

any chance of a WorldGuardExtraFlags fox for it?

aromaa commented 3 months ago

Its something I can look at

accLarson commented 3 months ago

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