summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEvilSeph <evilseph@unaligned.org>2011-06-13 23:41:42 -0400
committerEvilSeph <evilseph@unaligned.org>2011-06-14 10:16:54 -0400
commit9d8428607b2c62ffd2054b14144b839a00131761 (patch)
treed3a60b34ad2db20edbd34607ad15188d7a19292d /src
parent8bfa8e2d04b6128783667a8f5c0b86ffb153903b (diff)
downloadcraftbukkit-9d8428607b2c62ffd2054b14144b839a00131761.tar
craftbukkit-9d8428607b2c62ffd2054b14144b839a00131761.tar.gz
craftbukkit-9d8428607b2c62ffd2054b14144b839a00131761.tar.lz
craftbukkit-9d8428607b2c62ffd2054b14144b839a00131761.tar.xz
craftbukkit-9d8428607b2c62ffd2054b14144b839a00131761.zip
Fixed login message and CraftBukkit comment.
Diffstat (limited to 'src')
-rw-r--r--src/main/java/net/minecraft/server/NetLoginHandler.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/NetLoginHandler.java b/src/main/java/net/minecraft/server/NetLoginHandler.java
index dead7047..88d9565c 100644
--- a/src/main/java/net/minecraft/server/NetLoginHandler.java
+++ b/src/main/java/net/minecraft/server/NetLoginHandler.java
@@ -84,7 +84,8 @@ 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.world.worldData.name + "] " + entityplayer.locX + ", " + entityplayer.locY + ", " + entityplayer.locZ + ")"); // CraftBukkit
+ // CraftBukkit - add world and location to 'logged in' message.
+ 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);