forked from SteamWar/SteamWar
Update UserPerm
Fix Tablist
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user