Skip to content

Commit

Permalink
Correct release notes
Browse files Browse the repository at this point in the history
Paper 1.21.3 requires changes to placeholders and is not currently supported.
  • Loading branch information
Jikoo committed Feb 10, 2025
1 parent 7ab3e0c commit 0df5e39
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,14 +140,7 @@ public String getReleasesLink() {
if (BukkitVersions.MINECRAFT.lessThanOrEqual(Version.of(1, 21, 2))) {
return "https://github.com/Jikoo/OpenInv/releases/tag/5.1.3";
}
boolean paper = false;
try {
Class.forName("io.papermc.paper.configuration.GlobalConfiguration");
paper = true;
} catch (ClassNotFoundException ignored) {
// Expected on Spigot.
}
if (!paper && BukkitVersions.MINECRAFT.lessThanOrEqual(Version.of(1, 21, 3))) {
if (BukkitVersions.MINECRAFT.lessThanOrEqual(Version.of(1, 21, 3))) {
return "https://github.com/Jikoo/OpenInv/releases/tag/5.1.6";
}
return "https://github.com/Jikoo/OpenInv/releases";
Expand Down

0 comments on commit 0df5e39

Please sign in to comment.