From 56266347f1db18357e53ca35062171743b470bbe Mon Sep 17 00:00:00 2001 From: Zak <34372536+ZakShearman@users.noreply.github.com> Date: Tue, 20 Aug 2024 01:18:47 +0100 Subject: [PATCH] chore(deps): update java-game-sdk --- build.gradle.kts | 2 +- src/main/java/dev/emortal/minestom/battle/Main.java | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 6eaf928..2552d23 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -17,7 +17,7 @@ repositories { } dependencies { - implementation("dev.emortal.minestom:game-sdk:8ef77c3") + implementation("dev.emortal.minestom:game-sdk:884345c") implementation("dev.hollowcube:polar:1.7.2") implementation("com.github.emortaldev:MinestomPvP:62e90b78bd") { diff --git a/src/main/java/dev/emortal/minestom/battle/Main.java b/src/main/java/dev/emortal/minestom/battle/Main.java index 34c369d..e3d3e5e 100644 --- a/src/main/java/dev/emortal/minestom/battle/Main.java +++ b/src/main/java/dev/emortal/minestom/battle/Main.java @@ -9,7 +9,6 @@ public final class Main { private static final int MIN_PLAYERS = 2; - private static final int MAX_GAMES = 10; public static void main(String[] args) { MinestomGameServer.create(() -> { @@ -23,7 +22,6 @@ public static void main(String[] args) { return GameSdkConfig.builder() .minPlayers(MIN_PLAYERS) - .maxGames(MAX_GAMES) .gameCreator(info -> new BattleGame(info, mapManager.getMap(info.mapId()))) .build(); });