diff options
author | Necrodoom <doomed.war@gmail.com> | 2014-03-26 17:14:20 +0200 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2014-03-26 19:09:00 +0000 |
commit | 4b470b32c5a7ff217552abecfd19e2e836b92d0d (patch) | |
tree | 3975a1a5aa7e9fa132452dd89f9cba973bcd4759 | |
parent | cfe89dde17dde5f1b7ada643376ce22020abb736 (diff) | |
download | Essentials-4b470b32c5a7ff217552abecfd19e2e836b92d0d.tar Essentials-4b470b32c5a7ff217552abecfd19e2e836b92d0d.tar.gz Essentials-4b470b32c5a7ff217552abecfd19e2e836b92d0d.tar.lz Essentials-4b470b32c5a7ff217552abecfd19e2e836b92d0d.tar.xz Essentials-4b470b32c5a7ff217552abecfd19e2e836b92d0d.zip |
Add socialspy wildcard support
-rw-r--r-- | Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java b/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java index e82ef0cf0..1e55b9325 100644 --- a/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java +++ b/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java @@ -447,7 +447,7 @@ public class EssentialsPlayerListener implements Listener { final Player player = event.getPlayer(); final String cmd = event.getMessage().toLowerCase(Locale.ENGLISH).split(" ")[0].replace("/", "").toLowerCase(Locale.ENGLISH); - if (ess.getSettings().getSocialSpyCommands().contains(cmd)) + if (ess.getSettings().getSocialSpyCommands().contains(cmd) || ess.getSettings().getSocialSpyCommands().contains("*")) { for (Player onlinePlayer : ess.getServer().getOnlinePlayers()) { |