fixed typo

This commit is contained in:
kremsy 2017-05-15 21:09:11 +02:00
parent c6f8c3b42e
commit 5842c136f0

View File

@ -522,7 +522,7 @@ class Commands implements CallbackListener, CommandListener, ManialinkPageAnswer
* @param \ManiaControl\Players\Player $player
*/
public function commandTrackManiaEndRound(array $chatCallback, Player $player) {
if (!$this->maniaControl->getAuthenticationManager()->checkPermission($player, self::SETTING_PERMISSION_TM_HANDLE_POINTS_REPARTITION)) {
if (!$this->maniaControl->getAuthenticationManager()->checkPermission($player, self::SETTING_PERMISSION_END_ROUND)) {
$this->maniaControl->getAuthenticationManager()->sendNotAllowed($player);
return;
}