mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-27 10:31:31 +01:00
This is no longer stored in file, so it's not part of UserData anymore.
This commit is contained in:
parent
3e6e71ca41
commit
0cbded9fca
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user