mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 04:17:44 +01:00
Added world seed display to 'Preparing level' log message for each world
This commit is contained in:
parent
87b421767c
commit
4cefee5be7
@ -216,10 +216,12 @@ public class MinecraftServer implements Runnable, ICommandListener {
|
|||||||
short short1 = 196;
|
short short1 = 196;
|
||||||
long k = System.currentTimeMillis();
|
long k = System.currentTimeMillis();
|
||||||
|
|
||||||
for (int l = 0; l < this.worlds.size(); ++l) { // CraftBukkit
|
// CraftBukkit start
|
||||||
log.info("Preparing start region for level " + l);
|
for (int l = 0; l < this.worlds.size(); ++l) {
|
||||||
// if (l == 0 || this.propertyManager.getBoolean("allow-nether", true)) { // CraftBukkit
|
// if (l == 0 || this.propertyManager.getBoolean("allow-nether", true)) {
|
||||||
WorldServer worldserver = this.worlds.get(l); // CraftBukkit
|
WorldServer worldserver = this.worlds.get(l);
|
||||||
|
log.info("Preparing start region for level " + l + " (Seed: " + worldserver.getSeed() + ")");
|
||||||
|
// CraftBukkit end
|
||||||
ChunkCoordinates chunkcoordinates = worldserver.getSpawn();
|
ChunkCoordinates chunkcoordinates = worldserver.getSpawn();
|
||||||
|
|
||||||
for (int i1 = -short1; i1 <= short1 && this.isRunning; i1 += 16) {
|
for (int i1 = -short1; i1 <= short1 && this.isRunning; i1 += 16) {
|
||||||
|
@ -95,10 +95,10 @@ public final class CraftServer implements Server {
|
|||||||
configuration.getString("database.password", "walrus");
|
configuration.getString("database.password", "walrus");
|
||||||
configuration.getString("database.driver", "org.sqlite.JDBC");
|
configuration.getString("database.driver", "org.sqlite.JDBC");
|
||||||
configuration.getString("database.isolation", "SERIALIZABLE");
|
configuration.getString("database.isolation", "SERIALIZABLE");
|
||||||
|
|
||||||
configuration.getString("settings.update-folder", "update");
|
configuration.getString("settings.update-folder", "update");
|
||||||
configuration.getInt("settings.spawn-radius", 16);
|
configuration.getInt("settings.spawn-radius", 16);
|
||||||
|
|
||||||
if (configuration.getNode("aliases") == null) {
|
if (configuration.getNode("aliases") == null) {
|
||||||
configuration.setProperty("aliases.icanhasbukkit", "version");
|
configuration.setProperty("aliases.icanhasbukkit", "version");
|
||||||
}
|
}
|
||||||
@ -401,6 +401,7 @@ public final class CraftServer implements Server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pluginManager.callEvent(new WorldInitEvent(internal.getWorld()));
|
pluginManager.callEvent(new WorldInitEvent(internal.getWorld()));
|
||||||
|
System.out.print("Preparing start region for level " + (console.worlds.size() -1) + " (Seed: " + internal.getSeed() + ")");
|
||||||
|
|
||||||
short short1 = 196;
|
short short1 = 196;
|
||||||
long i = System.currentTimeMillis();
|
long i = System.currentTimeMillis();
|
||||||
|
Loading…
Reference in New Issue
Block a user