added Build Battle #15

Merged
jannis merged 6 commits from develop-jannis into develop 2026-10-16 18:50:20 +00:00
Showing only changes of commit 103bd23bf4 - Show all commits
@@ -38,7 +38,6 @@ public class ColorJump extends StatelessGame {
private Block blockLastRound;
private double roundTime = 5;
private final double multiplierNextRoundTime = 0.9;
private boolean isAfterRunning = false;
public ColorJump() {
super(Dimension.THE_END.key, "ColorJump", new LastWinsScore());
@@ -64,7 +63,6 @@ public class ColorJump extends StatelessGame {
@Override
protected void onStart() {
this.isAfterRunning = true;
this.nextRound();
}
@@ -174,7 +172,7 @@ public class ColorJump extends StatelessGame {
this.getScore().insertResult(player);
player.setGameMode(GameMode.SPECTATOR);
}
if(this.isAfterRunning && !this.isRunning) {
if(!this.isBeforeBeginning && !this.isRunning) {
player.setGameMode(GameMode.SPECTATOR);
player.teleport(this.getSpawn());
}