316317318319320321322323324325
user.setUsername(username); user.setEmail(email); user.setName(name); user.setTimezone(timezone); PrivilegeLevel userLevel = PrivilegeLevel.findByValue(privilege); user.setPrivilege(userLevel); user.setShardId(shard); return user; }
422423424425426427428429430431432
} catch (Exception e1) { level = 1; } } settings.endGroup(); PrivilegeLevel userLevel = PrivilegeLevel.findByValue(level); if (userLevel == PrivilegeLevel.NORMAL) return false; return true; }