Teleport spectating players to designated spectator area
This commit is contained in:
parent
6cd5315d28
commit
09b48fbafe
|
|
@ -78,7 +78,7 @@ public class PlayerService implements RoundListener {
|
|||
PLAYER_STATE playerState = optionalPlayerState.get();
|
||||
|
||||
if (playerState == PLAYER_STATE.SPECTATING) {
|
||||
//TODO: teleport player to spectator location
|
||||
playerTeleporterService.teleportPlayer(player, DESTINATION.SPECTATOR_AREA);
|
||||
}
|
||||
|
||||
roundService.setPlayerState(player.getUniqueId(), playerState);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user