Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static Boolean isMuted(String uuid) throws SQLException {
- ResultSet rs = MySQL.getResult("SELECT * FROM `MuteListe` WHERE UUID='" + uuid + "'");
- if(rs.next()) {
- String Banned = rs.getString("IsMuted");
- if(Banned.equals("true")) {
- return true;
- } else {
- return false;
- }
- }
- return null;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement