From b84785cc82af36461c6fef6f81a611d3c5e09a43 Mon Sep 17 00:00:00 2001 From: snowleo Date: Sun, 24 Jul 2011 00:41:54 +0200 Subject: If add-prefix-suffix is not set in config and EssentialsChat is installed, it will default to true now for backwards compatibility. --- Essentials/src/com/earth2me/essentials/Settings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Essentials/src/com/earth2me/essentials/Settings.java b/Essentials/src/com/earth2me/essentials/Settings.java index 63e017bf5..1700dec3a 100644 --- a/Essentials/src/com/earth2me/essentials/Settings.java +++ b/Essentials/src/com/earth2me/essentials/Settings.java @@ -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")); } } -- cgit v1.2.3