Fix for skins on players with nicknames - send up account name as well
as display name.
This commit is contained in:
parent
325f069b46
commit
4fb1ddf49a
5 changed files with 11 additions and 6 deletions
|
|
@ -18,14 +18,16 @@ public class Client {
|
|||
public String world;
|
||||
public double x, y, z;
|
||||
public int health;
|
||||
public String account;
|
||||
|
||||
public Player(String name, String world, double x, double y, double z, int health) {
|
||||
public Player(String name, String world, double x, double y, double z, int health, String account) {
|
||||
this.name = ChatColor.stripColor(name);
|
||||
this.world = world;
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
this.z = z;
|
||||
this.health = health;
|
||||
this.account = account;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue