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 | f3213494db2987c6b77c042b95fa784b30ec8ca9 (patch) | |
tree | ebac8f8e1281a71b323297155a1ffd501e56848d | |
parent | 011a89071ec20625b3b0ffef5972f76bf9da2228 (diff) | |
download | Essentials-f3213494db2987c6b77c042b95fa784b30ec8ca9.tar Essentials-f3213494db2987c6b77c042b95fa784b30ec8ca9.tar.gz Essentials-f3213494db2987c6b77c042b95fa784b30ec8ca9.tar.lz Essentials-f3213494db2987c6b77c042b95fa784b30ec8ca9.tar.xz Essentials-f3213494db2987c6b77c042b95fa784b30ec8ca9.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()); } } |