From 3e50eb01a904bbada5a72e380e803a2a423ac994 Mon Sep 17 00:00:00 2001 From: Alex Zenla Date: Wed, 15 Mar 2023 21:45:56 -0700 Subject: [PATCH] Update Service: Only consider bukkit-plugin items during update. --- .../gay/pizza/foundation/core/features/update/UpdateResolver.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/foundation-core/src/main/kotlin/gay/pizza/foundation/core/features/update/UpdateResolver.kt b/foundation-core/src/main/kotlin/gay/pizza/foundation/core/features/update/UpdateResolver.kt index 56fd076..6fce843 100644 --- a/foundation-core/src/main/kotlin/gay/pizza/foundation/core/features/update/UpdateResolver.kt +++ b/foundation-core/src/main/kotlin/gay/pizza/foundation/core/features/update/UpdateResolver.kt @@ -18,6 +18,7 @@ class UpdateResolver { nameOverride ?: key } val installSet = manifest.items + .filter { it.type == "bukkit-plugin" } .filter { installedPlugins.containsKey(it.name) } .associateWith { installedPlugins[it.name] } .toMutableMap()