diff options
author | ementalo <ementalo@gmx.co.uk> | 2011-07-07 21:43:44 +0100 |
---|---|---|
committer | ementalo <ementalo@gmx.co.uk> | 2011-07-07 21:43:44 +0100 |
commit | f58fa1068688197a734c49c2af8ad2708f718606 (patch) | |
tree | 2330a88f737d5b5b8ed59fe30752bf57249dda09 | |
parent | da8d5454d47cc03da4a47a32004fe16ea6d2c3d0 (diff) | |
download | Essentials-f58fa1068688197a734c49c2af8ad2708f718606.tar Essentials-f58fa1068688197a734c49c2af8ad2708f718606.tar.gz Essentials-f58fa1068688197a734c49c2af8ad2708f718606.tar.lz Essentials-f58fa1068688197a734c49c2af8ad2708f718606.tar.xz Essentials-f58fa1068688197a734c49c2af8ad2708f718606.zip |
use full english for disconnect to spare eyeballs
-rw-r--r-- | Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java | 2 | ||||
-rw-r--r-- | Essentials/src/com/earth2me/essentials/Settings.java | 4 | ||||
-rw-r--r-- | Essentials/src/config.yml | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java b/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java index f81b9aaf9..e12c9ca70 100644 --- a/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java +++ b/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java @@ -210,7 +210,7 @@ public class EssentialsPlayerListener extends PlayerListener public void onPlayerQuit(PlayerQuitEvent event) { User user = ess.getUser(event.getPlayer()); - if (ess.getSettings().removeGodOnDiscon()) + if (ess.getSettings().removeGodOnDisconnect()) { if (user.isGodModeEnabled()) { diff --git a/Essentials/src/com/earth2me/essentials/Settings.java b/Essentials/src/com/earth2me/essentials/Settings.java index e1d178f14..443878815 100644 --- a/Essentials/src/com/earth2me/essentials/Settings.java +++ b/Essentials/src/com/earth2me/essentials/Settings.java @@ -391,9 +391,9 @@ public class Settings implements IConf return config.getBoolean("economy-log-enabled", false); } - boolean removeGodOnDiscon() + boolean removeGodOnDisconnect() { - return config.getBoolean("remove-god-on-discon", false); + return config.getBoolean("remove-god-on-disconnect", false); } } diff --git a/Essentials/src/config.yml b/Essentials/src/config.yml index b56172af3..c56f4a39c 100644 --- a/Essentials/src/config.yml +++ b/Essentials/src/config.yml @@ -192,7 +192,7 @@ debug: false #locale: de_DE #turn off god mode when people exit -remove-god-on-discon: false +remove-god-on-disconnect: false ############################################################ # +------------------------------------------------------+ # # | EssentialsHome | # |