renamed player actions class

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

No files matched your search

@@ -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;
}