renamed server id to index
This commit is contained in:
@ -424,8 +424,8 @@ class DonationPlugin implements CallbackListener, CommandListener, Plugin {
|
||||
$message = 'Donation successful! Thanks.';
|
||||
}
|
||||
$this->maniaControl->chat->sendSuccess($message, $login);
|
||||
$this->maniaControl->statisticManager->insertStat(self::STAT_PLAYER_DONATIONS, $player,
|
||||
$this->maniaControl->server->getServerId(), $amount);
|
||||
$serverIndex = $this->maniaControl->server->getIndex();
|
||||
$this->maniaControl->statisticManager->insertStat(self::STAT_PLAYER_DONATIONS, $player, $serverIndex, $amount);
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user