Guest User

Untitled

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