From 05f688b99f822d09043ab64a3d86bde647cb9bcc Mon Sep 17 00:00:00 2001 From: kremsy Date: Tue, 9 May 2017 18:57:53 +0200 Subject: [PATCH] cb fix --- core/Callbacks/Structures/ShootMania/OnShotDenyStructure.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/Callbacks/Structures/ShootMania/OnShotDenyStructure.php b/core/Callbacks/Structures/ShootMania/OnShotDenyStructure.php index 4f4cedee..5e406345 100644 --- a/core/Callbacks/Structures/ShootMania/OnShotDenyStructure.php +++ b/core/Callbacks/Structures/ShootMania/OnShotDenyStructure.php @@ -33,8 +33,8 @@ class OnShotDenyStructure extends BaseTimeStructure { parent::__construct($maniaControl, $data); $jsonObj = $this->getPlainJsonObject(); - $this->shooterWeapon = $jsonObj->victim; - $this->victimWeapon = $jsonObj->damage; + $this->shooterWeapon = $jsonObj->shooterweapon; + $this->victimWeapon = $jsonObj->victimweapon; $this->shooter = $this->maniaControl->getPlayerManager()->getPlayer($this->getPlainJsonObject()->shooter); $this->victim = $this->maniaControl->getPlayerManager()->getPlayer($this->getPlainJsonObject()->victim);