Update Service: Only consider bukkit-plugin items during update.

This commit is contained in:
2023-03-15 21:45:56 -07:00
parent 90690666c5
commit 3e50eb01a9

View File

@ -18,6 +18,7 @@ class UpdateResolver {
nameOverride ?: key nameOverride ?: key
} }
val installSet = manifest.items val installSet = manifest.items
.filter { it.type == "bukkit-plugin" }
.filter { installedPlugins.containsKey(it.name) } .filter { installedPlugins.containsKey(it.name) }
.associateWith { installedPlugins[it.name] } .associateWith { installedPlugins[it.name] }
.toMutableMap() .toMutableMap()