Fix for skins on players with nicknames - send up account name as well

as display name.
This commit is contained in:
Mike Primm 2011-05-21 00:59:08 -05:00
parent 325f069b46
commit 4fb1ddf49a
5 changed files with 11 additions and 6 deletions

View file

@ -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;
}
}