Skip to content

Commit

Permalink
Fix NPE
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Aug 14, 2023
1 parent 7b50e5a commit cbd2639
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ serialization = "1.6.0-RC"
ktor = "2.3.3"
kord = "0.10.0-SNAPSHOT"
jjwt = "0.11.5"
api = "3.23.5"
api = "3.23.6"
ksp = "1.9.0-1.0.11"
lavakord = "feature-new-lavasrc-fields-SNAPSHOT"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class PluginUpdater(private val pluginLoader: PluginLoader, repos: List<UpdateRe
}
val lastVersion = lastRelease.version
val installedPlugin = pluginLoader.getPlugin(plugin.id)
if (BUNDLED_PLUGINS in installedPlugin.pluginPath.absolutePathString()) continue
if (installedPlugin != null && BUNDLED_PLUGINS in installedPlugin.pluginPath.absolutePathString()) continue
val installedVersion = installedPlugin.descriptor.version

LOG.debug { "Update plugin '${plugin.id}' from version $installedVersion to version $lastVersion" }
Expand Down

0 comments on commit cbd2639

Please sign in to comment.