This commit is contained in:
kremsy
2014-02-19 22:22:28 +01:00
committed by Steffen Schröder
parent 895d500ca6
commit b04eb30284
2 changed files with 21 additions and 8 deletions

View File

@ -288,9 +288,9 @@ class CustomVotesPlugin implements CommandListener, CallbackListener, ManialinkP
/**
* Destroy the Vote on Canceled Callback
*
* @param array $callback
* @param Player $player
*/
public function handleVoteCanceled(array $callback) {
public function handleVoteCanceled(Player $player) {
//reset vote
$this->destroyVote();
}