More modernization for the database

This commit is contained in:
2026-05-19 02:30:16 -04:00
parent a980e26cc7
commit 64c691bb58
68 changed files with 588 additions and 456 deletions
@@ -10,7 +10,7 @@ import org.bukkit.entity.Player;
public class BungeeUtil
{
public static void kickPlayer(Player player, Component message)
public static void kickPlayer(Plex plugin, Player player, Component message)
{
if (Bukkit.getServerConfig().isProxyEnabled())
{
@@ -18,7 +18,7 @@ public class BungeeUtil
out.writeUTF("KickPlayer");
out.writeUTF(player.getName());
out.writeUTF(LegacyComponentSerializer.legacySection().serialize(message));
player.sendPluginMessage(Plex.get(), "BungeeCord", out.toByteArray());
player.sendPluginMessage(plugin, "BungeeCord", out.toByteArray());
}
else
{