mirror of
https://github.com/Melledy/Nebula.git
synced 2025-12-14 05:14:46 +01:00
Rework star tower
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user