diff options
author | snowleo <schneeleo@gmail.com> | 2012-03-25 11:44:33 +0200 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2012-03-25 11:44:33 +0200 |
commit | f018b2c72311ab5e5a54d9a9d23a6bd23f110441 (patch) | |
tree | b52554e875ba5ae691cd1a7b8c8de9a3b6c312a9 | |
parent | 37a176dda77c4fdb20c9f0d1af4c86953973eba5 (diff) | |
download | Essentials-f018b2c72311ab5e5a54d9a9d23a6bd23f110441.tar Essentials-f018b2c72311ab5e5a54d9a9d23a6bd23f110441.tar.gz Essentials-f018b2c72311ab5e5a54d9a9d23a6bd23f110441.tar.lz Essentials-f018b2c72311ab5e5a54d9a9d23a6bd23f110441.tar.xz Essentials-f018b2c72311ab5e5a54d9a9d23a6bd23f110441.zip |
This is no longer stored in file, so it's not part of UserData anymore.
-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() |