- Improved ManialinkManager

- First Step for ingame Configurator
- AdminMenu
- StyleManager
- Callbacks of PlayerManager
This commit is contained in:
Steffen Schröder
2013-11-28 03:47:08 +01:00
parent e09f3ee95f
commit 9bed5b3d3f
14 changed files with 402 additions and 150 deletions

View File

@ -185,9 +185,6 @@ class AuthenticationManager implements CommandListener {
* @return bool
*/
public static function checkRight(Player $player, $neededAuthLevel) {
if (!$player) {
return false;
}
return ($player->authLevel >= $neededAuthLevel);
}