From 5296f97cde8e17d37da635c0eb3363d788d85430 Mon Sep 17 00:00:00 2001 From: Tahg Date: Wed, 8 Jun 2011 13:40:40 -0400 Subject: Portal changes. --- src/main/java/net/minecraft/server/NetLoginHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/net/minecraft/server/NetLoginHandler.java') 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); -- cgit v1.2.3