use of net.runelite.http.api.xtea.XteaClient in project runelite by runelite.
the class XteaKeyManager method loadKeys.
public void loadKeys() {
XteaClient xteaClient = new XteaClient();
try {
for (XteaKey key : xteaClient.get()) {
keys.put(key.getRegion(), key.getKeys());
}
} catch (IOException ex) {
// happens on release when it is not deployed yet
logger.debug("unable to load xtea keys", ex);
return;
}
logger.info("Loaded {} keys", keys.size());
}
Aggregations