Advertisement
Guest User

Untitled

a guest
Jul 15th, 2018
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. public static Boolean isMuted(String uuid) throws SQLException {
  2. ResultSet rs = MySQL.getResult("SELECT * FROM `MuteListe` WHERE UUID='" + uuid + "'");
  3. if(rs.next()) {
  4. String Banned = rs.getString("IsMuted");
  5. if(Banned.equals("true")) {
  6. return true;
  7. } else {
  8. return false;
  9. }
  10. }
  11. return null;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement