mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-18 05:43:49 -07:00
Load player data before calling PlayerLoginEvent. Fixes BUKKIT-1531 and Fixes BUKKIT-601.
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user