mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-15 23:26:27 +01:00
Fix #1106 GeoIP announces players who are hidden, on join.
This commit is contained in:
parent
90c9fe7e65
commit
cd897890be
@ -79,7 +79,7 @@ public class EssentialsGeoIPPlayerListener extends PlayerListener implements ICo
|
|||||||
{
|
{
|
||||||
u.setGeoLocation(sb.toString());
|
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())
|
for (Player player : event.getPlayer().getServer().getOnlinePlayers())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user