Fixed server build error / Possible crash fix

This commit is contained in:
Anuken
2018-09-02 11:00:14 -04:00
parent 0fb336cf7b
commit 56ae47cd8d
3 changed files with 4 additions and 4 deletions

View File

@@ -668,7 +668,7 @@ public class ServerControl extends Module{
}
info("&lyCore destroyed.");
Events.fire(GameOverEvent.class);
Events.fire(new GameOverEvent());
});
handler.register("debuginfo", "Print debug info", arg -> {
@@ -934,7 +934,7 @@ public class ServerControl extends Module{
if(alive != null && !state.gameOver){
state.gameOver = true;
winnerTeam = alive;
Events.fire(GameOverEvent.class);
Events.fire(new GameOverEvent());
}
}