summaryrefslogtreecommitdiffstats
path: root/src/main/java/net
diff options
context:
space:
mode:
authorEvilSeph <evilseph@unaligned.org>2011-06-17 23:23:34 -0400
committerEvilSeph <evilseph@unaligned.org>2011-06-18 00:29:34 -0400
commit4cefee5be7d8595042a6752f044df7268fd6754d (patch)
tree6730c9ad3e7f4dc9efb444f9fa9664489a7f3a57 /src/main/java/net
parent87b421767c3b287fe0476a48d2fad7db1c8c5471 (diff)
downloadcraftbukkit-4cefee5be7d8595042a6752f044df7268fd6754d.tar
craftbukkit-4cefee5be7d8595042a6752f044df7268fd6754d.tar.gz
craftbukkit-4cefee5be7d8595042a6752f044df7268fd6754d.tar.lz
craftbukkit-4cefee5be7d8595042a6752f044df7268fd6754d.tar.xz
craftbukkit-4cefee5be7d8595042a6752f044df7268fd6754d.zip
Added world seed display to 'Preparing level' log message for each world
Diffstat (limited to 'src/main/java/net')
-rw-r--r--src/main/java/net/minecraft/server/MinecraftServer.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
index bdd733c8..549e337c 100644
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
@@ -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) {