Skip to content

Commit

Permalink
Fix 1.20.6 detection for spigot
Browse files Browse the repository at this point in the history
  • Loading branch information
Elikill58 committed Jun 16, 2024
1 parent 20c5fc3 commit baa4eab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public Version getMinecraftVersion() {

@Override
public String getNMSVersion() {
return Bukkit.getServer().getClass().getPackage().getName().replace(".", ",").split(",")[3];
return Bukkit.getServer().getClass().getPackage().getName().replace(".", ",").split(",")[3].replace("_R4", "_6");
}

@Override
Expand Down

0 comments on commit baa4eab

Please sign in to comment.