Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try {
- ResultSet myloc = MySQL.onQuery("SELECT * FROM lobbylogoutlocation WHERE player = '" + uuid + "';");
- double x = myloc.getDouble("X");
- double y = myloc.getDouble("Y");
- double z = myloc.getDouble("Z");
- double yaw = myloc.getDouble("Yaw");
- double pitch = myloc.getDouble("Pitch");
- String worldname = myloc.getString("world");
- System.out.println(x + y + z + yaw + pitch + worldname);
- } catch (SQLException e1) {
- e1.printStackTrace();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement