mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-05 06:32:17 -07:00
and some more
This commit is contained in:
@@ -263,7 +263,8 @@
|
||||
+ this.loadLevel(this.storageSource.getLevelId()); // CraftBukkit
|
||||
long l = Util.getNanos() - nanos;
|
||||
String string = String.format(Locale.ROOT, "%.3fs", l / 1.0E9);
|
||||
LOGGER.info("Done ({})! For help, type \"help\"", string);
|
||||
- LOGGER.info("Done ({})! For help, type \"help\"", string);
|
||||
+ LOGGER.info("Done preparing level \"{}\" ({})", this.getLevelIdName(), string); // Paper - Improve startup message, add total time
|
||||
if (properties.announcePlayerAchievements != null) {
|
||||
- this.getGameRules().getRule(GameRules.RULE_ANNOUNCE_ADVANCEMENTS).set(properties.announcePlayerAchievements, this);
|
||||
+ this.getGameRules().getRule(GameRules.RULE_ANNOUNCE_ADVANCEMENTS).set(properties.announcePlayerAchievements, this.overworld()); // CraftBukkit - per-world
|
||||
@@ -315,7 +316,7 @@
|
||||
}
|
||||
+
|
||||
+ this.hasFullyShutdown = true; // Paper - Improved watchdog support
|
||||
+ System.exit(0); // CraftBukkit
|
||||
+ System.exit(this.abnormalExit ? 70 : 0); // CraftBukkit // Paper - Improved watchdog support
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -417,6 +418,15 @@
|
||||
}
|
||||
|
||||
public void storeUsingWhiteList(boolean isStoreUsingWhiteList) {
|
||||
@@ -532,7 +_,7 @@
|
||||
@Override
|
||||
public void stopServer() {
|
||||
super.stopServer();
|
||||
- Util.shutdownExecutors();
|
||||
+ //Util.shutdownExecutors(); // Paper - Improved watchdog support; moved into super
|
||||
SkullBlockEntity.clear();
|
||||
}
|
||||
|
||||
@@ -626,4 +_,15 @@
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user