Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertoRutigliano committed Jul 4, 2024
1 parent 9f62ccd commit 3ecd4ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/lar/minecraft/hg/managers/PlayerManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public void run() {
// Used to track player position witouth pressing F3
createPlayerLocationBossBar(player);
}
if (SpigotPlugin.isPlaying() || SpigotPlugin.isWinning() || SpigotPlugin.isSafeArea()) {
if (SpigotPlugin.isPlaying() || SpigotPlugin.isWinning() || SpigotPlugin.isSafeArea() || SpigotPlugin.isEnded()) {
player.setGameMode(GameMode.SPECTATOR);
}
}
Expand Down

0 comments on commit 3ecd4ab

Please sign in to comment.