Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static Integer getActivationNewShop(String uuid) {
- Integer i = 0;
- if(playerExists(uuid)) {
- try {
- ResultSet rs = Main.mysql.query("SELECT * FROM Neuershopnutzer WHERE UUID= '" + uuid + "'");
- if(!rs.next() || (Integer.valueOf(rs.getString("AKTIVIERT"))== null));
- i = rs.getInt("AKTIVIERT");
- } catch (SQLException e) {
- e.printStackTrace();
- }
- }else {
- createPlayer(uuid);
- getActivationNewShop(uuid);
- }
- return i;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement