diff --git a/build.gradle.kts b/build.gradle.kts index d3db4747..b1bb3823 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -43,7 +43,7 @@ allprojects { maven(url = "https://repo.papermc.io/repository/maven-public/") maven(url = "https://repo.fancyplugins.de/releases") maven(url = "https://repo.lushplugins.org/releases") - maven(url = "https://repo.inventivetalent.org/repository/public/") + maven(url = "https://repo.inventivetalent.org/repository/maven-snapshots/") } } @@ -68,7 +68,7 @@ dependencies { implementation("org.incendo:cloud-paper:2.0.0-SNAPSHOT") implementation("org.incendo:cloud-annotations:2.1.0-SNAPSHOT") annotationProcessor("org.incendo:cloud-annotations:2.1.0-SNAPSHOT") - implementation("org.mineskin:java-client-jsoup:3.0.0-SNAPSHOT") + implementation("org.mineskin:java-client-jsoup:3.0.1-SNAPSHOT") compileOnly("com.intellectualsites.plotsquared:plotsquared-core:7.4.0") } diff --git a/src/main/java/de/oliver/fancynpcs/skins/SkinManagerImpl.java b/src/main/java/de/oliver/fancynpcs/skins/SkinManagerImpl.java index e1c3bc6d..60a2ff3c 100644 --- a/src/main/java/de/oliver/fancynpcs/skins/SkinManagerImpl.java +++ b/src/main/java/de/oliver/fancynpcs/skins/SkinManagerImpl.java @@ -11,11 +11,11 @@ import org.mineskin.JsoupRequestHandler; import org.mineskin.MineSkinClient; import org.mineskin.data.CodeAndMessage; +import org.mineskin.data.JobReference; import org.mineskin.data.SkinInfo; import org.mineskin.data.Variant; import org.mineskin.exception.MineSkinRequestException; import org.mineskin.request.GenerateRequest; -import org.mineskin.response.JobResponse; import org.mineskin.response.MineSkinResponse; import org.mineskin.response.QueueResponse; @@ -219,7 +219,7 @@ private SkinInfo executeRequest(GenerateRequest req) { CompletableFuture queueResp = client.queue().submit(req); // wait for job completion - CompletableFuture jobResp = queueResp.thenCompose( + CompletableFuture jobResp = queueResp.thenCompose( queueResponse -> queueResponse.getJob().waitForCompletion(client) );