mirror of
https://github.com/TotalFreedomMC/TFGuilds.git
synced 2024-12-22 07:55:03 +00:00
Forgot to use variables to substitute
This commit is contained in:
parent
097e5feab1
commit
c47e42256e
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ public class JoinListener implements Listener
|
|||
String guildTagStripped = GUtil.removeColorCodes(guild.getTag());
|
||||
if (tfmTagStripped != null && guildTagStripped != null)
|
||||
{
|
||||
int length = GUtil.removeColorCodes(tfmTag).length() + GUtil.removeColorCodes(guild.getTag()).length();
|
||||
int length = tfmTagStripped.length() + guildTagStripped.length();
|
||||
if (length > maxLength)
|
||||
{
|
||||
TFGuilds.getPlugin().getTfmBridge().clearTag(player);
|
||||
|
|
Loading…
Reference in a new issue