Skip to content

Commit

Permalink
Add respawn widget to BedWars
Browse files Browse the repository at this point in the history
  • Loading branch information
Fesaa committed Aug 1, 2024
1 parent 955c402 commit dac0036
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ public void onGameUpdate(GameUpdateEvent e) {

@Subscribe
public void onPlayerRespawn(PlayerRespawnEvent e) {
if (!Cubepanion.get().getManager().isPlaying(CubeGame.TEAM_EGGWARS)) {
if (!Cubepanion.get().getManager().isPlaying(CubeGame.TEAM_EGGWARS)
|| !Cubepanion.get().getManager().isPlaying(CubeGame.BEDWARS)) {
return;
}

Expand Down

0 comments on commit dac0036

Please sign in to comment.