Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

Commit

Permalink
Support 1.20.6 (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmitch215 authored May 29, 2024
2 parents bffcc51 + a18810e commit c441b0c
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,14 +181,15 @@ static Class<?>[] getArgTypes(Object... args) {
static String bukkitToCraftBukkit() {
String bukkit = Bukkit.getServer().getBukkitVersion().split("-")[0];
switch (bukkit) {
case "1.20.1":
case "1.20.1":
return "1_20_R1";
case "1.20.2":
case "1.20.2":
return "1_20_R2";
case "1.20.3":
case "1.20.4":
return "1_20_R3";
case "1.20.5":
case "1.20.6":
return "1_20_R4";
default:
throw new AssertionError("Invalid Version: " + bukkit);
Expand Down

0 comments on commit c441b0c

Please sign in to comment.