mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-03 21:28:00 +02: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:
@@ -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"));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user