summaryrefslogtreecommitdiffstats
path: root/src/main/java/net
diff options
context:
space:
mode:
authorEvilSeph <evilseph@unaligned.org>2011-06-10 04:32:29 -0400
committerEvilSeph <evilseph@unaligned.org>2011-06-10 05:35:44 -0400
commit8f4c36974ba0a844477b523e149084296751f011 (patch)
tree59b7fa1d8213e495baf9b3cdc629f6a97f5d48a1 /src/main/java/net
parent6607b6785d74030234270b288821b166ed2735d2 (diff)
downloadcraftbukkit-8f4c36974ba0a844477b523e149084296751f011.tar
craftbukkit-8f4c36974ba0a844477b523e149084296751f011.tar.gz
craftbukkit-8f4c36974ba0a844477b523e149084296751f011.tar.lz
craftbukkit-8f4c36974ba0a844477b523e149084296751f011.tar.xz
craftbukkit-8f4c36974ba0a844477b523e149084296751f011.zip
Added world name to player logged in message.
Diffstat (limited to 'src/main/java/net')
-rw-r--r--src/main/java/net/minecraft/server/NetLoginHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/NetLoginHandler.java b/src/main/java/net/minecraft/server/NetLoginHandler.java
index 2896a23d..b7c8473c 100644
--- a/src/main/java/net/minecraft/server/NetLoginHandler.java
+++ b/src/main/java/net/minecraft/server/NetLoginHandler.java
@@ -84,7 +84,7 @@ public class NetLoginHandler extends NetHandler {
if (entityplayer != null) {
this.server.serverConfigurationManager.b(entityplayer);
// entityplayer.a((World) this.server.a(entityplayer.dimension)); // CraftBukkit - set by Entity
- a.info(this.b() + " logged in with entity id " + entityplayer.id + " at (" + entityplayer.locX + ", " + entityplayer.locY + ", " + entityplayer.locZ + ")");
+ a.info(this.b() + " logged in with entity id " + entityplayer.id + " at ([ "+ entityplayer.world.worldData.name + "] " + entityplayer.locX + ", " + entityplayer.locY + ", " + entityplayer.locZ + ")");
WorldServer worldserver = (WorldServer) entityplayer.world; // CraftBukkit
ChunkCoordinates chunkcoordinates = worldserver.getSpawn();
NetServerHandler netserverhandler = new NetServerHandler(this.server, this.networkManager, entityplayer);