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