diff --git a/src/main/java/com/nexia/base/player/PlayerDataManager.java b/src/main/java/com/nexia/base/player/PlayerDataManager.java index cfac1e3b..f46b8c3c 100644 --- a/src/main/java/com/nexia/base/player/PlayerDataManager.java +++ b/src/main/java/com/nexia/base/player/PlayerDataManager.java @@ -77,6 +77,9 @@ public static void init() { // <----------- SkyWars ---------------> new PlayerDataManager(NexiaCore.SKYWARS_DATA_MANAGER, "skywars", WLKSavedPlayerData.class, SkywarsPlayerData.class); + + // <----------- Bridge ---------------> + new PlayerDataManager(NexiaCore.BRIDGE_DATA_MANAGER, "bridge", WLKSavedPlayerData.class, BridgePlayerData.class); } public PlayerData get(NexiaPlayer player) { diff --git a/src/main/java/com/nexia/core/utilities/time/ServerTime.java b/src/main/java/com/nexia/core/utilities/time/ServerTime.java index e259814d..5ae0b003 100644 --- a/src/main/java/com/nexia/core/utilities/time/ServerTime.java +++ b/src/main/java/com/nexia/core/utilities/time/ServerTime.java @@ -79,6 +79,7 @@ public static void firstTick(MinecraftServer server) { SkywarsGame.firstTick(); OitcGame.firstTick(); + BridgeGame.firstTick(); DuelGameHandler.starting(); } @@ -106,6 +107,7 @@ public static void everyTick() { FootballGame.tick(); BridgeGame.tick(); OitcGame.tick(); + BridgeGame.tick(); if (totalTickCount % 5 == 0) { FfaClassicUtil.INSTANCE.fiveTick(); @@ -132,6 +134,7 @@ static void everySecond() { FootballGame.second(); BridgeGame.second(); SkywarsGame.second(); + BridgeGame.second(); try { for (DuelsGame game : DuelGameHandler.duelsGames) { if (game == null) return;