Revert "renamed player actions class"

This reverts commit f0862f7f16.
This commit is contained in:
Steffen Schröder
2014-07-19 23:40:16 +02:00
parent 2ae38ed1fa
commit c50e4f5a84
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->actions->isPlayerMuted($player)) {
if ($this->maniaControl->playerManager->playerActions->isPlayerMuted($player)) {
$this->maniaControl->chat->sendError('Muted Players are not allowed to start a vote.', $player->login);
return;
}