private void onExit(Player player) { User user = UserManager.getUser(player); if (user == null) return; user.setOffline(); EventManager.call(new UserExitEvent(user)); UserManager.removeUser(player); }
@Override public void register(User user) { user.addManager(new UserSkillManager(user)); }