/[projects]/miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/GetposCommand.java
ViewVC logotype

Diff of /miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/GetposCommand.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1474 by torben, Sat May 21 18:10:19 2011 UTC revision 1475 by torben, Mon May 23 15:12:25 2011 UTC
# Line 20  public class GetposCommand implements Co Line 20  public class GetposCommand implements Co
20                                    
21                  String message = String.format("Your current location is %d,%d,%d", (int)l.getX(), (int)l.getY(), (int)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

Legend:
Removed from v.1474  
changed lines
  Added in v.1475

  ViewVC Help
Powered by ViewVC 1.1.20