bugfixes
This commit is contained in:
committed by
Steffen Schröder
parent
895d500ca6
commit
b04eb30284
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user