Skip to content

Commit

Permalink
Fix running on spigot/paper 1.20, 1.20.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeprimm committed Sep 27, 2023
1 parent 79f354b commit 65cca04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spigot/src/main/java/org/dynmap/bukkit/Helper.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ else if(Bukkit.getServer().getClass().getName().contains("GlowServer")) {
Log.info("Loading Glowstone support");
BukkitVersionHelper.helper = loadVersionHelper("org.dynmap.bukkit.helper.BukkitVersionHelperGlowstone");
}
else if (v.contains("(MC: 1.20")) {
BukkitVersionHelper.helper = loadVersionHelper("org.dynmap.bukkit.helper.v120_2.BukkitVersionHelperSpigot120_2");
}
else if (v.contains("(MC: 1.20)") || v.contains("(MC: 1.20.1)")) {
BukkitVersionHelper.helper = loadVersionHelper("org.dynmap.bukkit.helper.v120.BukkitVersionHelperSpigot120");
}
else if (v.contains("(MC: 1.20")) {
BukkitVersionHelper.helper = loadVersionHelper("org.dynmap.bukkit.helper.v120_2.BukkitVersionHelperSpigot120_2");
}
else if (v.contains("(MC: 1.19)") || v.contains("(MC: 1.19.1)") || v.contains("(MC: 1.19.2)")) {
BukkitVersionHelper.helper = loadVersionHelper("org.dynmap.bukkit.helper.v119.BukkitVersionHelperSpigot119");
}
Expand Down

0 comments on commit 65cca04

Please sign in to comment.