diff options
-rw-r--r-- | Essentials/src/com/earth2me/essentials/User.java | 11 | ||||
-rw-r--r-- | Essentials/src/com/earth2me/essentials/UserData.java | 16 |
2 files changed, 13 insertions, 14 deletions
diff --git a/Essentials/src/com/earth2me/essentials/User.java b/Essentials/src/com/earth2me/essentials/User.java index dde0c20e2..f1e6ac67d 100644 --- a/Essentials/src/com/earth2me/essentials/User.java +++ b/Essentials/src/com/earth2me/essentials/User.java @@ -23,6 +23,7 @@ public class User extends UserData implements Comparable<User>, IReplyTo, IUser private transient long lastActivity = System.currentTimeMillis(); private boolean hidden = false; private transient Location afkPosition = null; + private boolean invSee = false; private static final Logger logger = Logger.getLogger("Minecraft"); User(final Player base, final IEssentials ess) @@ -592,4 +593,14 @@ public class User extends UserData implements Comparable<User>, IReplyTo, IUser { return teleportRequestTime; } + + public boolean isInvSee() + { + return invSee; + } + + public void setInvSee(boolean set) + { + invSee = set; + } } diff --git a/Essentials/src/com/earth2me/essentials/UserData.java b/Essentials/src/com/earth2me/essentials/UserData.java index 11c701c34..3c8066cc9 100644 --- a/Essentials/src/com/earth2me/essentials/UserData.java +++ b/Essentials/src/com/earth2me/essentials/UserData.java @@ -188,14 +188,13 @@ public abstract class UserData extends PlayerExtension implements IConf } return false; } - private String nickname; - + public String _getNickname() { return config.getString("nickname"); } - + public String getNickname() { return nickname; @@ -406,17 +405,6 @@ public abstract class UserData extends PlayerExtension implements IConf mails.add(mail); setMails(mails); } - - private boolean invSee; - - public boolean isInvSee() { - return invSee; - } - - public void setInvSee(boolean set) { - invSee = set; - } - private boolean teleportEnabled; private boolean getTeleportEnabled() |