Rework star tower

This commit is contained in:
Melledy
2025-12-02 23:15:31 -08:00
parent 33b1cf55d4
commit 893b23b50d
19 changed files with 880 additions and 537 deletions

View File

@@ -205,7 +205,12 @@ public class StarTowerManager extends PlayerManager {
}
// Create game
this.game = new StarTowerGame(this, data, formation, req);
try {
this.game = new StarTowerGame(this, data, formation, req);
} catch (Exception e) {
Nebula.getLogger().error("Could not create star tower game", e);
return null;
}
// Trigger quest
this.getPlayer().trigger(QuestCondition.TowerEnterFloor, 1);