private void load() { try { hunt.getSql().openConnection(); ResultSet result = hunt.getSql().getResult("SELECT * FROM Speedhuntdata WHERE USERID = '" + uuid.toString() + "';"); if(!result.first()) { hunt.getSql().getConnection().close(); return; } wins = result.getInt("WINS"); deaths = result.getInt("DEATHS"); games = result.getInt("GAMES"); winEffect = WinEffectType.valueOf(result.getString("WINEFFECT")); hunt.getSql().getConnection().close(); } catch (SQLException e) { e.printStackTrace(); } }