dumbo-the-developer / Duels

GNU General Public License v3.0
8 stars 9 forks source link

[BUG] Player failed to teleport to arena #12

Closed LOURENT4462 closed 1 month ago

LOURENT4462 commented 1 month ago

📜 Description

The player failed to teleport to the arena, and a message like this appears in the console [Duels] Teleport: Could not teleport Luminetteaa! Player is dead or is vehicle

📑 Reproduction Steps

  1. Duel with another player
  2. After the duel is over, the winning player sends another duel request to the losing player
  3. When the losing player accepts the request, the winning player is teleported to the duels arena, but the losing player is not. I think the duel plugin thinks the player is still dead... you can see it in the console message (above)

💻 Version

Plugin Version: 0.71-BETA Server Version: Paper version git-Paper-307 (MC: 1.20.2)

Additional Information

This problem went away when reloading this plugin, I added the reload command to config.yml in duel.match.end-commands.commands and this solved the problem.