diff options
author | feildmaster <admin@feildmaster.com> | 2012-04-18 12:28:50 -0500 |
---|---|---|
committer | feildmaster <admin@feildmaster.com> | 2012-04-23 22:12:19 -0500 |
commit | 119b5d18a5c59d490bf0872fac95bcd4ec6dfd54 (patch) | |
tree | 5d0136f8a64afe940e48bf792937cf201734f3fe /src/main/java/net/minecraft/server/NetLoginHandler.java | |
parent | e61a316815aabb8dc1f680fdb7f8b9a61868c158 (diff) | |
download | craftbukkit-119b5d18a5c59d490bf0872fac95bcd4ec6dfd54.tar craftbukkit-119b5d18a5c59d490bf0872fac95bcd4ec6dfd54.tar.gz craftbukkit-119b5d18a5c59d490bf0872fac95bcd4ec6dfd54.tar.lz craftbukkit-119b5d18a5c59d490bf0872fac95bcd4ec6dfd54.tar.xz craftbukkit-119b5d18a5c59d490bf0872fac95bcd4ec6dfd54.zip |
Load player data before calling PlayerLoginEvent. Fixes BUKKIT-1531 and Fixes BUKKIT-601.
Diffstat (limited to 'src/main/java/net/minecraft/server/NetLoginHandler.java')
-rw-r--r-- | src/main/java/net/minecraft/server/NetLoginHandler.java | 2 |
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 9b02268b..c91f6087 100644 --- a/src/main/java/net/minecraft/server/NetLoginHandler.java +++ b/src/main/java/net/minecraft/server/NetLoginHandler.java @@ -102,7 +102,7 @@ public class NetLoginHandler extends NetHandler { EntityPlayer entityplayer = this.server.serverConfigurationManager.attemptLogin(this, packet1login.name, this.hostname); // CraftBukkit - add hostname parameter if (entityplayer != null) { - this.server.serverConfigurationManager.b(entityplayer); + //this.server.serverConfigurationManager.b(entityplayer); // CraftBukkit - Moved to attemptLogin // entityplayer.a((World) this.server.a(entityplayer.dimension)); // CraftBukkit - set by Entity entityplayer.itemInWorldManager.a((WorldServer) entityplayer.world); // CraftBukkit - add world and location to 'logged in' message. |