Skip to content

Commit

Permalink
fix: velocity detection on modern paper platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
Misat11 committed Jul 17, 2024
1 parent 57c281c commit 3b1b281
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,9 @@ public void shutdown0() {
if (Bukkit.spigot().getPaperConfig().getBoolean("settings.velocity-support.enabled", false)) {
return ProxyType.VELOCITY;
}
if (Bukkit.spigot().getPaperConfig().getBoolean("proxies.velocity.enabled", false)) { // new paper versions
return ProxyType.VELOCITY;
}
}
return Bukkit.spigot().getConfig().getBoolean("settings.bungeecord",false) ? ProxyType.BUNGEE : ProxyType.NONE;
}
Expand Down

0 comments on commit 3b1b281

Please sign in to comment.