From 35d8bfb58880568c56ba6bd21474403110c05d2d Mon Sep 17 00:00:00 2001 From: YoyoNow Date: Thu, 3 Jul 2025 16:47:58 +0200 Subject: [PATCH] Update UserPerm Fix Tablist --- CommonCore/SQL/src/de/steamwar/sql/UserPerm.java | 2 +- .../src/de/steamwar/velocitycore/tablist/Tablist.java | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CommonCore/SQL/src/de/steamwar/sql/UserPerm.java b/CommonCore/SQL/src/de/steamwar/sql/UserPerm.java index c659ac0d..0651dbda 100644 --- a/CommonCore/SQL/src/de/steamwar/sql/UserPerm.java +++ b/CommonCore/SQL/src/de/steamwar/sql/UserPerm.java @@ -56,7 +56,7 @@ public enum UserPerm { p.put(PREFIX_YOUTUBER, new Prefix("§7", "YT")); p.put(PREFIX_GUIDE, new Prefix("§a", "Guide")); // 55FF55 - p.put(PREFIX_SUPPORTER, new Prefix("§x§3§d§4§8§e§3", "Sup")); // 3D58E3 + p.put(PREFIX_SUPPORTER, new Prefix("§x§3§4§0§0§f§f", "Sup")); // 3400ff p.put(PREFIX_MODERATOR, new Prefix("§x§c§7§5§e§2§2", "Mod")); // C75E22 p.put(PREFIX_BUILDER, new Prefix("§2", "Arch")); // 00AA00 p.put(PREFIX_DEVELOPER, new Prefix("§3", "Dev")); // 00AAAA diff --git a/VelocityCore/src/de/steamwar/velocitycore/tablist/Tablist.java b/VelocityCore/src/de/steamwar/velocitycore/tablist/Tablist.java index 8c897e25..783441a6 100644 --- a/VelocityCore/src/de/steamwar/velocitycore/tablist/Tablist.java +++ b/VelocityCore/src/de/steamwar/velocitycore/tablist/Tablist.java @@ -149,8 +149,10 @@ public class Tablist extends ChannelInboundHandlerAdapter { } if (player.getProtocolVersion().noLessThan(ProtocolVersion.MINECRAFT_1_21_5)) { - // TODO: Misformed Packet? - return; + sendTabPacket(new ArrayList<>(directTabItems.values()), null); + directTabItems.clear(); + sendTabPacket(current, null); + current.clear(); } sendPacket(player, createTeamPacket);