summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2012-03-25 11:44:33 +0200
committersnowleo <schneeleo@gmail.com>2012-03-25 11:44:33 +0200
commit0cbded9fcab30735ebccb794c640c16ac6e4f229 (patch)
treef12b20424854896180435ac9e6e98b7cd5097304
parent3e6e71ca41a3b694f44c04e8910bb0de627211be (diff)
downloadEssentials-0cbded9fcab30735ebccb794c640c16ac6e4f229.tar
Essentials-0cbded9fcab30735ebccb794c640c16ac6e4f229.tar.gz
Essentials-0cbded9fcab30735ebccb794c640c16ac6e4f229.tar.lz
Essentials-0cbded9fcab30735ebccb794c640c16ac6e4f229.tar.xz
Essentials-0cbded9fcab30735ebccb794c640c16ac6e4f229.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.java11
-rw-r--r--Essentials/src/com/earth2me/essentials/UserData.java16
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()