mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
Change nickname character length to 3 (#149)
* You can have minimum of 3 characters in your name * Another one
This commit is contained in:
parent
4f339b29b8
commit
2a168ece3d
@ -35,9 +35,9 @@ public class Command_nicknyan extends FreedomCommand
|
|||||||
msg("That nickname contains invalid characters.");
|
msg("That nickname contains invalid characters.");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else if (nickPlain.length() < 4 || nickPlain.length() > 30)
|
else if (nickPlain.length() < 3 || nickPlain.length() > 30)
|
||||||
{
|
{
|
||||||
msg("Your nickname must be between 4 and 30 characters long.");
|
msg("Your nickname must be between 3 and 30 characters long.");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,9 +29,9 @@ public class Command_rainbownick extends FreedomCommand
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (nickPlain.length() < 4 || nickPlain.length() > 30)
|
if (nickPlain.length() < 3 || nickPlain.length() > 30)
|
||||||
{
|
{
|
||||||
msg("Your nickname must be between 4 and 30 characters long.");
|
msg("Your nickname must be between 3 and 30 characters long.");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user