mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 20:00:46 +00:00
If add-prefix-suffix is not set in config and EssentialsChat is installed, it will default to true now for backwards compatibility.
This commit is contained in:
parent
164541794e
commit
b84785cc82
1 changed files with 1 additions and 1 deletions
|
@ -471,6 +471,6 @@ public class Settings implements ISettings
|
||||||
|
|
||||||
public boolean addPrefixSuffix()
|
public boolean addPrefixSuffix()
|
||||||
{
|
{
|
||||||
return config.getBoolean("add-prefix-suffix", false);
|
return config.getBoolean("add-prefix-suffix", ess.getServer().getPluginManager().isPluginEnabled("EssentialsChat"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue