Skip to content

Commit

Permalink
Update to 1.21.1
Browse files Browse the repository at this point in the history
Looks like Spigot builds 1.21.1 for 1.20. Mildly annoying.
  • Loading branch information
Jikoo committed Aug 10, 2024
1 parent 1967f4e commit cace6f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/v1_21_R1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<properties>
<maven.compiler.system>21</maven.compiler.system>
<maven.compiler.release>21</maven.compiler.release>
<spigot.version>1.21-R0.1-SNAPSHOT</spigot.version>
<spigot.version>1.21.1-R0.1-SNAPSHOT</spigot.version>
</properties>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ public class InternalAccessor {
public InternalAccessor(@NotNull Logger logger, @NotNull LanguageManager lang) {

try {
if (BukkitVersions.MINECRAFT.equals(Version.of(1, 21))) {
if (BukkitVersions.MINECRAFT.equals(Version.of(1, 21, 1))
|| BukkitVersions.MINECRAFT.equals(Version.of(1, 21))) {
internal = new com.lishid.openinv.internal.v1_21_R1.InternalAccessor(logger, lang);
} else if (BukkitVersions.MINECRAFT.equals(Version.of(1, 20, 4))) {
internal = new com.lishid.openinv.internal.v1_20_R3.InternalAccessor(logger, lang);
Expand Down

0 comments on commit cace6f6

Please sign in to comment.