diff options
author | Tahg <tahgtahv@gmail.com> | 2011-06-08 13:40:40 -0400 |
---|---|---|
committer | EvilSeph <evilseph@unaligned.org> | 2011-06-08 16:57:46 -0400 |
commit | 5296f97cde8e17d37da635c0eb3363d788d85430 (patch) | |
tree | 538a37ceb76f015c60ca7617c590ee1f977fea1b /src/main/java/net/minecraft/server/NetLoginHandler.java | |
parent | 8b49a945c236a2ae9182ce4fe8f9c7aeaa745e68 (diff) | |
download | craftbukkit-5296f97cde8e17d37da635c0eb3363d788d85430.tar craftbukkit-5296f97cde8e17d37da635c0eb3363d788d85430.tar.gz craftbukkit-5296f97cde8e17d37da635c0eb3363d788d85430.tar.lz craftbukkit-5296f97cde8e17d37da635c0eb3363d788d85430.tar.xz craftbukkit-5296f97cde8e17d37da635c0eb3363d788d85430.zip |
Portal changes.
Diffstat (limited to 'src/main/java/net/minecraft/server/NetLoginHandler.java')
-rw-r--r-- | src/main/java/net/minecraft/server/NetLoginHandler.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/NetLoginHandler.java b/src/main/java/net/minecraft/server/NetLoginHandler.java index aa2637ee..2896a23d 100644 --- a/src/main/java/net/minecraft/server/NetLoginHandler.java +++ b/src/main/java/net/minecraft/server/NetLoginHandler.java @@ -83,9 +83,9 @@ public class NetLoginHandler extends NetHandler { if (entityplayer != null) { this.server.serverConfigurationManager.b(entityplayer); - entityplayer.a((World) this.server.a(entityplayer.dimension)); + // 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 + ")"); - WorldServer worldserver = this.server.a(entityplayer.dimension); + WorldServer worldserver = (WorldServer) entityplayer.world; // CraftBukkit ChunkCoordinates chunkcoordinates = worldserver.getSpawn(); NetServerHandler netserverhandler = new NetServerHandler(this.server, this.networkManager, entityplayer); |