Skip to content

Commit

Permalink
chore(plugin): fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
iGabyTM committed Jul 28, 2024
1 parent 58c2262 commit a6199b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ object ServerVersion {
val method = Server::class.java.getDeclaredMethod("getMinecraftVersion")
return method.invoke(Bukkit.getServer()) as String
} catch (ignored: NoSuchMethodException) {
// Version is formatted as 'minor.major.patch-R0.1-SNAPSHOT'
// Version is formatted as 'major.minor.patch-R0.1-SNAPSHOT'
return Bukkit.getServer().bukkitVersion.split('-')[0]
}
}
Expand Down

0 comments on commit a6199b6

Please sign in to comment.