Skip to content

Commit

Permalink
Shutdown fast
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexProgrammerDE committed Dec 31, 2023
1 parent 09fe9f6 commit be2ea22
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ private void init(CallbackInfoReturnable<Boolean> cir) {
Path dataDumpDirectory = serverRootDirectory.resolve("minecraft-data").resolve(versionName);
DataGenerators.runDataGenerators(dataDumpDirectory);
Main.LOGGER.log(Level.INFO, "Done data generation!");
DGU.getCurrentlyRunningServer().stopServer();
System.exit(0);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ private void init(CallbackInfoReturnable<Boolean> cir) {
Path dataDumpDirectory = serverRootDirectory.resolve("minecraft-data").resolve(versionName);
DataGenerators.runDataGenerators(dataDumpDirectory);
Main.LOGGER.log(Level.INFO, "Done data generation!");
DGU.getCurrentlyRunningServer().stopServer();
System.exit(0);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ private void init(CallbackInfoReturnable<Boolean> cir) {
Path dataDumpDirectory = serverRootDirectory.resolve("minecraft-data").resolve(versionName);
DataGenerators.runDataGenerators(dataDumpDirectory);
Main.LOGGER.log(Level.INFO, "Done data generation!");
DGU.getCurrentlyRunningServer().stop(false);
System.exit(0);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ private void init(CallbackInfoReturnable<Boolean> cir) {
Path dataDumpDirectory = serverRootDirectory.resolve("minecraft-data").resolve(versionName);
DataGenerators.runDataGenerators(dataDumpDirectory);
Main.LOGGER.log(Level.INFO, "Done data generation!");
DGU.getCurrentlyRunningServer().stop(false);
System.exit(0);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ private void init(CallbackInfoReturnable<Boolean> cir) {
Path dataDumpDirectory = serverRootDirectory.resolve("minecraft-data").resolve(versionName);
DataGenerators.runDataGenerators(dataDumpDirectory);
Main.LOGGER.log(Level.INFO, "Done data generation!");
DGU.getCurrentlyRunningServer().stop(false);
System.exit(0);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ private void init(CallbackInfoReturnable<Boolean> cir) {
Path dataDumpDirectory = serverRootDirectory.resolve("minecraft-data").resolve(versionName);
DataGenerators.runDataGenerators(dataDumpDirectory);
Main.LOGGER.info("Done data generation!");
DGU.getCurrentlyRunningServer().stop(false);
System.exit(0);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ private void init(CallbackInfoReturnable<Boolean> cir) {
Path dataDumpDirectory = serverRootDirectory.resolve("minecraft-data").resolve(versionName);
DataGenerators.runDataGenerators(dataDumpDirectory);
Main.LOGGER.info("Done data generation!");
DGU.getCurrentlyRunningServer().stop(false);
System.exit(0);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ private void init(CallbackInfoReturnable<Boolean> cir) {
Path dataDumpDirectory = serverRootDirectory.resolve("minecraft-data").resolve(versionName);
DataGenerators.runDataGenerators(dataDumpDirectory);
Main.LOGGER.info("Done data generation!");
DGU.getCurrentlyRunningServer().stop(false);
System.exit(0);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ private void init(CallbackInfoReturnable<Boolean> cir) {
Path dataDumpDirectory = serverRootDirectory.resolve("minecraft-data").resolve(versionName);
DataGenerators.runDataGenerators(dataDumpDirectory);
Main.LOGGER.info("Done data generation!");
DGU.getCurrentlyRunningServer().stop(false);
System.exit(0);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ private void init(CallbackInfoReturnable<Boolean> cir) {
Path dataDumpDirectory = serverRootDirectory.resolve("minecraft-data").resolve(versionName);
DataGenerators.runDataGenerators(dataDumpDirectory);
Main.LOGGER.info("Done data generation!");
DGU.getCurrentlyRunningServer().stop(false);
System.exit(0);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ private void init(CallbackInfoReturnable<Boolean> cir) {
Path dataDumpDirectory = serverRootDirectory.resolve("minecraft-data").resolve(versionName);
DataGenerators.runDataGenerators(dataDumpDirectory);
Main.LOGGER.info("Done data generation!");
DGU.getCurrentlyRunningServer().stop(false);
System.exit(0);
}
}

0 comments on commit be2ea22

Please sign in to comment.