- Improved ManialinkManager
- First Step for ingame Configurator - AdminMenu - StyleManager - Callbacks of PlayerManager
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user