bugfixes
This commit is contained in:
1 parent
895d500ca6
commit
b04eb30284
2 files changed
+21
-8
No files matched your search
@@ -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