Describe the defect
Since the Scrying Cube only returns a player when the time is up or when it is removed, players can get stuck if the cube is destroyed while they are logged out.
(Have not actually tested this)
To Reproduce
Steps to reproduce the behavior:
Place a Scrying Cube
Use the Scrying Cube
Log out while in spectator mode
Have another player remove/destroy the Scrying Cube
Log back in
See that you are stuck in spectator mode
Expected behavior
Player should be turned back to previous gamemode as soon as they log back in.
Describe the defect Since the Scrying Cube only returns a player when the time is up or when it is removed, players can get stuck if the cube is destroyed while they are logged out.
(Have not actually tested this)
To Reproduce Steps to reproduce the behavior:
Expected behavior Player should be turned back to previous gamemode as soon as they log back in.