18 |
Player p = (Player) sender; |
Player p = (Player) sender; |
19 |
Location l = p.getLocation(); |
Location l = p.getLocation(); |
20 |
|
|
21 |
String message = String.format("Your current location is %d,%d,%d", l.getX(), l.getY(), l.getZ() ); |
String message = String.format("Your current location is %d,%d,%d", (int)l.getX(), (int)l.getY(), (int)l.getZ() ); |
22 |
p.sendMessage(message); |
p.sendMessage(message); |
23 |
|
p.sendMessage( String.format("%f, %f", l.getPitch(), l.getYaw()) ); |
24 |
//needs to print facing direction |
//needs to print facing direction |
25 |
|
|
26 |
// TODO Auto-generated method stub |
// TODO Auto-generated method stub |