Guest User

Untitled

a guest
Oct 8th, 2018
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. 599 public boolean playerExistsUUID(String uuid) {
  2. 600 ResultSet rs = new MySQL(plugin).getResult("SELECT * FROM hideTable WHERE UUID='" + uuid + "'");
  3. 601 try {
  4. 602 if (rs.next()) {
  5. 603 return rs.getString("UUID") !=null;
  6. 604 }
  7. 605 return false;
  8. 606 } catch (SQLException e) {
  9. 607 e.printStackTrace();
  10. 608 }
  11. 609 return false;
Advertisement
Add Comment
Please, Sign In to add comment