Report world for players in updates.
This commit is contained in:
parent
18ad2e1d79
commit
38df91bafe
3 changed files with 9 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue