BillManager fix
This commit is contained in:
parent
bd2097066b
commit
65802d38f5
@ -58,7 +58,7 @@ class BillManager implements CallbackListener {
|
||||
*/
|
||||
public function sendBill(callable $function, Player $player, $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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user