mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-27 16:02:32 +00:00
[Fix] Fixes drtshock/Essentials#189, adds toggleable config option 'ignore-colors-in-max-nick-length' to exclude ChatColors from nickname length
This commit is contained in:
parent
d4ab25b200
commit
77eb430b0b
4 changed files with 17 additions and 1 deletions
|
@ -1046,6 +1046,11 @@ public class Settings implements net.ess3.api.ISettings {
|
|||
return config.getInt("max-nick-length", 30);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean ignoreColorsInMaxLength() {
|
||||
return config.getBoolean("ignore-colors-in-max-nick-length", false);
|
||||
}
|
||||
|
||||
private boolean allowSilentJoin;
|
||||
|
||||
public boolean _allowSilentJoinQuit() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue