Minor clean up

This commit is contained in:
Focusvity
2023-03-08 22:45:47 +11:00
parent e39f882ea7
commit 77be23faf0
17 changed files with 59 additions and 31 deletions
@@ -20,6 +20,7 @@ public class BungeeUtil
return Bukkit.spigot().getPaperConfig().getBoolean("settings.velocity-support.enabled") && !Bukkit.spigot().getPaperConfig().getString("settings.velocity-support.secret", "").isEmpty();
}
@SuppressWarnings("UnstableApiUsage")
public static void kickPlayer(Player player, Component message)
{
if (isBungeeCord() || isVelocity())