From d2adc136a0c38445169018cbec61e0602f4c2709 Mon Sep 17 00:00:00 2001 From: Daniel Orr Date: Sun, 24 Nov 2024 17:22:59 +0000 Subject: [PATCH] chore: broaden flattenFutures generic --- gradle.properties | 2 +- src/main/kotlin/net/mcbrawls/blueprint/structure/Blueprint.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gradle.properties b/gradle.properties index 3138c97..3e256f3 100644 --- a/gradle.properties +++ b/gradle.properties @@ -9,7 +9,7 @@ yarn_build=2 loader_version=0.16.7 # Mod Properties -mod_version=1.11 +mod_version=1.11.1 maven_group=net.mcbrawls mod_id=blueprint diff --git a/src/main/kotlin/net/mcbrawls/blueprint/structure/Blueprint.kt b/src/main/kotlin/net/mcbrawls/blueprint/structure/Blueprint.kt index a13b5f0..a7a8889 100644 --- a/src/main/kotlin/net/mcbrawls/blueprint/structure/Blueprint.kt +++ b/src/main/kotlin/net/mcbrawls/blueprint/structure/Blueprint.kt @@ -148,10 +148,10 @@ data class Blueprint( val EMPTY = Blueprint(emptyList(), emptyList(), emptyMap(), Vec3i.ZERO, emptyMap()) /** - * Flattens a set of placed blueprint futures into one progressive future. + * Flattens a set of progressive futures into one progressive future. * @return a progressive future of combined futures and progress provider */ - fun flattenFutures(vararg futures: ProgressiveFuture): ProgressiveFuture<*> { + fun flattenFutures(vararg futures: ProgressiveFuture<*>): ProgressiveFuture<*> { // create compounded future val future = CompletableFuture.runAsync { val completableFutures = futures.map(ProgressiveFuture<*>::future)