public static void saveLifestone(String bWorld, int bX, int bY, int bZ) throws SQLException {// Block
																									// block
		String table = Config.sqlPrefix + "Lifestones";

		Connection con = getConnection();
		PreparedStatement statement = null;
		int success = 0;

		String query = "select * from " + table + " where `world` LIKE ? AND `x` LIKE ?  AND `y` LIKE ?  AND `z` LIKE ? ";

		statement = con.prepareStatement(query);
		statement.setString(1, bWorld);
		statement.setInt(2, bX);
		statement.setInt(3, bY);
		statement.setInt(4, bZ);

		ResultSet result = statement.executeQuery();
		while (result.next()) {
			success = 1;
			break;
		}

		statement.close();

		if (success > 0) {
			// System.out.println("mysql Lifestone already in DB!");
			return;
		}

		if (success == 0) {
			query = "INSERT INTO `" + table + "` (`world`, `x`, `y`, `z`) VALUES (?, ?, ?, ?);";
			statement = con.prepareStatement(query);
			statement.setString(1, bWorld);
			statement.setInt(2, bX);
			statement.setInt(3, bY);
			statement.setInt(4, bZ);

			success = statement.executeUpdate();
			statement.close();
			con.close();
		}

		con.close();
	}