--- miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/GetposCommand.java 2011/05/21 18:06:15 1472 +++ miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/GetposCommand.java 2011/05/23 15:12:25 1475 @@ -18,8 +18,9 @@ Player p = (Player) sender; Location l = p.getLocation(); - 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() ); p.sendMessage(message); + p.sendMessage( String.format("%f, %f", l.getPitch(), l.getYaw()) ); //needs to print facing direction // TODO Auto-generated method stub