renamed player actions class

This commit is contained in:
Steffen Schröder
2014-07-19 23:37:19 +02:00
parent 61d80b340d
commit f0862f7f16
7 changed files with 44 additions and 44 deletions

View File

@ -446,7 +446,7 @@ class CustomVotesPlugin implements CommandListener, CallbackListener, ManialinkP
*/
public function startVote(Player $player, $voteIndex, $function = null) {
//Player is muted
if ($this->maniaControl->playerManager->playerActions->isPlayerMuted($player)) {
if ($this->maniaControl->playerManager->actions->isPlayerMuted($player)) {
$this->maniaControl->chat->sendError('Muted Players are not allowed to start a vote.', $player->login);
return;
}