This commit is contained in:
kremsy authored and Steffen Schröder committed 2014-05-01 17:35:25 +02:00
1 parent 895d500ca6
commit b04eb30284
2 files changed
+21 -8

No files matched your search

+2 -2
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();
}