public void storeOfflineXP(String playerName, String worldName, int Amount, String vassalName) {
		String SQL = "UPDATE " + tblOfflineGains + " SET amount=amount+" + Amount + " WHERE `player` = ? AND `world` = ? AND `vassal` = ?";

		int updateSuccessful = 0;

		Connection con = getSQLConnection();
		PreparedStatement statement = null;

		try {
			statement = con.prepareStatement(SQL);

			statement.setString(1, playerName);
			statement.setString(2, worldName);
			statement.setString(3, vassalName);

			updateSuccessful = statement.executeUpdate();

		} catch (SQLException e) {
			e.printStackTrace();
		}

		// plugin.info("updateSuccessful: " + updateSuccessful);

		if (updateSuccessful == 0) {
			// Entry doesn't exist yet, time to insert it into the table.
			SQL = "INSERT INTO " + tblOfflineGains + " (`id`, `player`, `world`, `amount`, `vassal`) VALUES (NULL, ?, ?, ?, ?);";

			try {

				statement = con.prepareStatement(SQL);

				statement.setString(1, playerName);
				statement.setString(2, worldName);
				statement.setInt(3, Amount);
				statement.setString(4, vassalName);

				statement.executeUpdate();

			} catch (SQLException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}

		}

		try {
			statement.close();
			con.close();
		} catch (SQLException e) {
		}
	}