diff options
author | snowleo <schneeleo@gmail.com> | 2011-11-11 03:27:01 +0100 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-11-11 03:27:09 +0100 |
commit | f98039a415db9afc67eeeba1ede6f4dbbcfcc23a (patch) | |
tree | 5d741505f3ea24e0bb8f73140ae57bc1dab5e2cf /EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIPPlayerListener.java | |
parent | 218c98fa20cc3e5d205fa9040871e824d10fc5bc (diff) | |
download | Essentials-f98039a415db9afc67eeeba1ede6f4dbbcfcc23a.tar Essentials-f98039a415db9afc67eeeba1ede6f4dbbcfcc23a.tar.gz Essentials-f98039a415db9afc67eeeba1ede6f4dbbcfcc23a.tar.lz Essentials-f98039a415db9afc67eeeba1ede6f4dbbcfcc23a.tar.xz Essentials-f98039a415db9afc67eeeba1ede6f4dbbcfcc23a.zip |
Fix #1106 GeoIP announces players who are hidden, on join.
Diffstat (limited to 'EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIPPlayerListener.java')
-rw-r--r-- | EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIPPlayerListener.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIPPlayerListener.java b/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIPPlayerListener.java index 5a6553f0e..8926f77e8 100644 --- a/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIPPlayerListener.java +++ b/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIPPlayerListener.java @@ -79,7 +79,7 @@ public class EssentialsGeoIPPlayerListener extends PlayerListener implements ICo { u.setGeoLocation(sb.toString()); } - if (config.getBoolean("show-on-login", true)) + if (config.getBoolean("show-on-login", true) && !u.isHidden()) { for (Player player : event.getPlayer().getServer().getOnlinePlayers()) { |