callback fixes
This commit is contained in:
parent
d6995f211d
commit
4effad8f6d
@ -42,8 +42,6 @@ class OnCaptureStructure extends BaseStructure {
|
|||||||
$position->setZ($jsonObj->landmark->position->z);
|
$position->setZ($jsonObj->landmark->position->z);
|
||||||
|
|
||||||
$this->landMark->setPosition($position);
|
$this->landMark->setPosition($position);
|
||||||
|
|
||||||
$this->shooter = $this->maniaControl->getPlayerManager()->getPlayer($this->getPlainJsonObject()->shooter);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Dumps the Object with some Information */
|
/** Dumps the Object with some Information */
|
||||||
|
@ -25,7 +25,7 @@ class OnPlayerRequestRespawnStructure extends BaseStructure {
|
|||||||
parent::__construct($maniaControl, $data);
|
parent::__construct($maniaControl, $data);
|
||||||
|
|
||||||
$this->time = $this->getPlainJsonObject()->time;
|
$this->time = $this->getPlainJsonObject()->time;
|
||||||
$this->player = $this->maniaControl->getPlayerManager()->getPlayer($this->getPlainJsonObject()->victim);
|
$this->player = $this->maniaControl->getPlayerManager()->getPlayer($this->getPlainJsonObject()->login);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user