1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-01-18 05:48:33 +01:00

Fix #1106 GeoIP announces players who are hidden, on join.

This commit is contained in:
snowleo 2011-11-11 03:27:01 +01:00
parent 218c98fa20
commit f98039a415

View File

@ -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())
{