Bug Closed · Resolved

[Bug] Spectator related issues.

#3870 opened by Unknown 3 years ago

Unknownreported this bug
  1. When a player losses all of their lives and became a spectator they can still trigger the player detector trigger.
  2. When a player or multiple players lose all of their lives the dungeon never ends. I tested this on a clean installation of paper(1.19.3 Build 396) with the only installed plugins being MythicDungeons(1.1.2-SNAPSHOT Build 118) and ProtocolLib(Build 612). The dungeon setup was simple with a function to finish the dungeon if you right-click a block and a function that spawns a zombie if a player is detected near the function. Also, the only thing I changed in the dungeon config is the player lives from 0 to 3.
Unknowncommented

Hey there! So I implemented a fix for the player detector in the latest dev builds. However, what you described in the second point is actually intended functionality. Players are allowed to remain in spectator in the dungeon on purpose in case the dungeon developer wants to let the players respawn in the dungeon in some way. This also allows players to look at the dungeon if they want to figure out what killed them. In order to quit the dungeon when all players die, they just have to use /leave or /md leave.

Sign in to join the discussion.