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 )
|
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" );
|
Preconditions.checkArgument( !ChatColor.stripColor( text ).isEmpty(), "Text cannot consist entirely of colour codes" );
|
||||||
text = attempt( text );
|
text = attempt( text );
|
||||||
sentStuff.add( text );
|
sentStuff.add( text );
|
||||||
|
Loading…
Reference in New Issue
Block a user