mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-08-21 10:52:01 +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
|
@ -471,6 +471,6 @@ public class Settings implements ISettings
|
|||
|
||||
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