Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 21:10:17 +01:00
Added world seed display to 'Preparing level' log message for each world
Dieser Commit ist enthalten in:
Ursprung
87b421767c
Commit
4cefee5be7
@ -216,10 +216,12 @@ public class MinecraftServer implements Runnable, ICommandListener {
|
||||
short short1 = 196;
|
||||
long k = System.currentTimeMillis();
|
||||
|
||||
for (int l = 0; l < this.worlds.size(); ++l) { // CraftBukkit
|
||||
log.info("Preparing start region for level " + l);
|
||||
// if (l == 0 || this.propertyManager.getBoolean("allow-nether", true)) { // CraftBukkit
|
||||
WorldServer worldserver = this.worlds.get(l); // CraftBukkit
|
||||
// CraftBukkit start
|
||||
for (int l = 0; l < this.worlds.size(); ++l) {
|
||||
// if (l == 0 || this.propertyManager.getBoolean("allow-nether", true)) {
|
||||
WorldServer worldserver = this.worlds.get(l);
|
||||
log.info("Preparing start region for level " + l + " (Seed: " + worldserver.getSeed() + ")");
|
||||
// CraftBukkit end
|
||||
ChunkCoordinates chunkcoordinates = worldserver.getSpawn();
|
||||
|
||||
for (int i1 = -short1; i1 <= short1 && this.isRunning; i1 += 16) {
|
||||
|
@ -401,6 +401,7 @@ public final class CraftServer implements Server {
|
||||
}
|
||||
|
||||
pluginManager.callEvent(new WorldInitEvent(internal.getWorld()));
|
||||
System.out.print("Preparing start region for level " + (console.worlds.size() -1) + " (Seed: " + internal.getSeed() + ")");
|
||||
|
||||
short short1 = 196;
|
||||
long i = System.currentTimeMillis();
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren