From 65802d38f5c81546b17b97331df0e8a697ead86e Mon Sep 17 00:00:00 2001 From: kremsy Date: Wed, 3 Jun 2015 22:27:09 +0200 Subject: [PATCH] BillManager fix --- core/Bills/BillManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Bills/BillManager.php b/core/Bills/BillManager.php index f5e71b33..cd182bb7 100644 --- a/core/Bills/BillManager.php +++ b/core/Bills/BillManager.php @@ -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; }