Skip to content

Commit

Permalink
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)
  • Loading branch information
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
Expand Up @@ -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;
}
Expand Down

0 comments on commit 82e0b00

Please sign in to comment.