Realizedd / Duels

A duel plugin for minecraft.
https://www.spigotmc.org/resources/duels.20171/
GNU General Public License v3.0
108 stars 100 forks source link

Inventory Bug when change of gamemode #15

Closed austin9240 closed 5 years ago

austin9240 commented 5 years ago

Replicate This bug occurs when using a plugin such as per world inventory and the player is joining a duel when they are in a different game mode. For example, on my server, there is a creative world and if they join a duel from that world their inventory will not update with the proper kit and will instead give the survival inventory that they had before joining the creative world. Then when the duel is over they will lose their entire survival inventory as the inventory is normally cleared at the end of a duel. I think the reason for this occurring is because the kit is actually given a fraction of a second before they are teleported into the arena.

Proposed Solutions Make it so the player is first teleported and then the kit is given or make it so certain world can be disabled for joining a duel

Realizedd commented 5 years ago

Added blacklisted-worlds in 0041f82, thanks for reporting.