mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-01 06:53:44 +01:00
Added world name to player logged in message.
This commit is contained in:
parent
6607b6785d
commit
8f4c36974b
@ -84,7 +84,7 @@ public class NetLoginHandler extends NetHandler {
|
|||||||
if (entityplayer != null) {
|
if (entityplayer != null) {
|
||||||
this.server.serverConfigurationManager.b(entityplayer);
|
this.server.serverConfigurationManager.b(entityplayer);
|
||||||
// entityplayer.a((World) this.server.a(entityplayer.dimension)); // CraftBukkit - set by Entity
|
// 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 + ")");
|
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
|
WorldServer worldserver = (WorldServer) entityplayer.world; // CraftBukkit
|
||||||
ChunkCoordinates chunkcoordinates = worldserver.getSpawn();
|
ChunkCoordinates chunkcoordinates = worldserver.getSpawn();
|
||||||
NetServerHandler netserverhandler = new NetServerHandler(this.server, this.networkManager, entityplayer);
|
NetServerHandler netserverhandler = new NetServerHandler(this.server, this.networkManager, entityplayer);
|
||||||
|
Loading…
Reference in New Issue
Block a user