BillManager fix

This commit is contained in:
kremsy 2015-06-03 22:27:09 +02:00
parent bd2097066b
commit 65802d38f5

View File

@ -58,7 +58,7 @@ class BillManager implements CallbackListener {
*/ */
public function sendBill(callable $function, Player $player, $amount, $message, $receiver = '') { public function sendBill(callable $function, Player $player, $amount, $message, $receiver = '') {
$billId = $this->maniaControl->getClient()->sendBill($player->login, $amount, $message, $receiver); $billId = $this->maniaControl->getClient()->sendBill($player->login, $amount, $message, $receiver);
$this->openBills[$billId] = new BillData($function, $player, $amount); $this->openBills[$billId] = new BillData($function, $player, $amount, false, $receiver);
return true; return true;
} }