diff options
author | KHobbits <rob@khobbits.co.uk> | 2012-06-10 23:36:10 +0100 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2012-06-10 23:36:10 +0100 |
commit | 43b3a9df2331632a52b5a301e6961c9b6f534915 (patch) | |
tree | 675673996adc4da8cd77611176d24aa9fb3ce369 | |
parent | 8b47b80b0b32c122722958d91422219c1008cb5c (diff) | |
download | Essentials-43b3a9df2331632a52b5a301e6961c9b6f534915.tar Essentials-43b3a9df2331632a52b5a301e6961c9b6f534915.tar.gz Essentials-43b3a9df2331632a52b5a301e6961c9b6f534915.tar.lz Essentials-43b3a9df2331632a52b5a301e6961c9b6f534915.tar.xz Essentials-43b3a9df2331632a52b5a301e6961c9b6f534915.zip |
/vanish command sets players invisible to essentials commands.
-rw-r--r-- | Essentials/src/com/earth2me/essentials/User.java | 2 |
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()); } } |