Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed bug where the murderer gets teleported to the lobby to fast whe…
Browse files Browse the repository at this point in the history
…n arena ends (#72)
EpicJosch authored Apr 23, 2024
1 parent 9304b10 commit 82e0b00
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -421,7 +421,7 @@ public void onRespawn(PlayerRespawnEvent event) {
event.setRespawnLocation(arena.getLobbyLocation());
return;
}
if(arena.getArenaState() == ArenaState.ENDING || arena.getArenaState() == ArenaState.RESTARTING) {
if(arena.getArenaState() == ArenaState.RESTARTING) {
event.setRespawnLocation(arena.getEndLocation());
return;
}

0 comments on commit 82e0b00

Please sign in to comment.