Add and implement sign break/create/interact events to EssAPI

Implement AfkStatusChangeEvent
This commit is contained in:
KHobbits 2013-12-31 17:18:04 +00:00
parent 0b71b6e93d
commit d48c02021d
12 changed files with 184 additions and 48 deletions

View file

@ -729,19 +729,13 @@ public abstract class UserData extends PlayerExtension implements IConf
return afk;
}
public void setAfk(boolean set)
public void _setAfk(boolean set)
{
afk = set;
config.setProperty("afk", set);
config.save();
}
public boolean toggleAfk()
{
boolean ret = !isAfk();
setAfk(ret);
return ret;
}
private boolean newplayer;
private String geolocation;