Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static boolean getBootLavaPop(String uuid) {
- boolean test = false;
- int i = 0;
- if(playerExists(uuid)) {
- try {
- ResultSet rs = Main.getPlugin(Main.class).mySQL4.query("SELECT * FROM Boots WHERE UUID= '" + uuid + "'");
- if((rs.next()) || (Integer.valueOf(rs.getInt("LavaPop")) == null));
- i = rs.getInt("LavaPop");
- if(i == 1){
- test = true;
- }
- } catch (SQLException e) {
- e.printStackTrace();
- }
- }else {
- setupPlayerBoot(uuid);
- getBootLavaPop(uuid);
- }
- return test;
- }
Advertisement
Add Comment
Please, Sign In to add comment