Merge pull request #57 from kfricilone/plugins/xtea

runelite-client: close xtea response, add debug message
This commit is contained in:
Adam
2017-05-09 21:01:56 -04:00
committed by GitHub

View File

@@ -88,9 +88,12 @@ public class Xtea extends Plugin
ScheduledExecutorService executor = runeLite.getExecutor();
executor.execute(() ->
{
try
try (Response response = xteaClient.submit(revision, region, keys))
{
xteaClient.submit(revision, region, keys);
if (!response.isSuccessful())
{
logger.debug("unsuccessful xtea response");
}
}
catch (IOException ex)
{