summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Essentials/src/com/earth2me/essentials/User.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/User.java b/Essentials/src/com/earth2me/essentials/User.java
index 22b772f78..b752458ba 100644
--- a/Essentials/src/com/earth2me/essentials/User.java
+++ b/Essentials/src/com/earth2me/essentials/User.java
@@ -642,10 +642,12 @@ public class User extends UserData implements Comparable<User>, IReplyTo, IUser
vanished = !vanished;
if (vanished)
{
+ setHidden(true);
ess.getVanishedPlayers().add(getName());
}
else
{
+ setHidden(false);
ess.getVanishedPlayers().remove(getName());
}
}