summaryrefslogtreecommitdiffstats
path: root/EssentialsSpawn/src/com/earth2me
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-09-02 16:15:57 +0200
committersnowleo <schneeleo@gmail.com>2011-09-02 16:16:15 +0200
commitfb211d722cb93d1234930015746d963a02818d5f (patch)
tree3d8a80cd6094c5cd2d04cb546a92112ad897bfae /EssentialsSpawn/src/com/earth2me
parent1b3698283e0608d7fc8173d2a366ead01e12afee (diff)
downloadEssentials-fb211d722cb93d1234930015746d963a02818d5f.tar
Essentials-fb211d722cb93d1234930015746d963a02818d5f.tar.gz
Essentials-fb211d722cb93d1234930015746d963a02818d5f.tar.lz
Essentials-fb211d722cb93d1234930015746d963a02818d5f.tar.xz
Essentials-fb211d722cb93d1234930015746d963a02818d5f.zip
Prevent that hidden players broadcast afk messages
Prevent that moving players triggers unafk too early, they can now move within a radius of 3 blocks from the position where they went afk.
Diffstat (limited to 'EssentialsSpawn/src/com/earth2me')
-rw-r--r--EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawnPlayerListener.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawnPlayerListener.java b/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawnPlayerListener.java
index 3c85c3661..459eee60a 100644
--- a/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawnPlayerListener.java
+++ b/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawnPlayerListener.java
@@ -79,7 +79,7 @@ public class EssentialsSpawnPlayerListener extends PlayerListener
if (ess.getSettings().getAnnounceNewPlayers())
{
- ess.broadcastMessage(user.getName(), ess.getSettings().getAnnounceNewPlayerFormat(user));
+ ess.broadcastMessage(user, ess.getSettings().getAnnounceNewPlayerFormat(user));
}
}
}