mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-12-25 18:17:38 +01:00
Mojang nerfed tab lists :(
This commit is contained in:
parent
3fc7064997
commit
a9d3d9461f
@ -46,7 +46,7 @@ public class Custom extends TabListAdapter implements CustomTabList
|
||||
|
||||
if ( text != null )
|
||||
{
|
||||
Preconditions.checkArgument( text.length() <= MAX_LEN, "text must be <= %s chars", MAX_LEN );
|
||||
Preconditions.checkArgument( text.length() <= MAX_LEN - 2, "text must be <= %s chars", MAX_LEN - 2 );
|
||||
Preconditions.checkArgument( !ChatColor.stripColor( text ).isEmpty(), "Text cannot consist entirely of colour codes" );
|
||||
text = attempt( text );
|
||||
sentStuff.add( text );
|
||||
|
Loading…
Reference in New Issue
Block a user