--- miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/GetposCommand.java 2011/05/21 18:08:14 1473 +++ miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/GetposCommand.java 2011/05/21 18:10:19 1474 @@ -18,7 +18,7 @@ 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); //needs to print facing direction