Report world for players in updates.

This commit is contained in:
FrozenCow 2011-02-15 13:38:46 +01:00
parent 18ad2e1d79
commit 38df91bafe
3 changed files with 9 additions and 5 deletions

View file

@ -11,10 +11,12 @@ public class Client {
public static class Player {
public String type = "player";
public String name;
public String world;
public double x, y, z;
public Player(String name, double x, double y, double z) {
public Player(String name, String world, double x, double y, double z) {
this.name = name;
this.world = world;
this.x = x;
this.y = y;
this.z = z;