small stability improvement
This commit is contained in:
		@@ -38,17 +38,19 @@ class OnCaptureStructure extends BaseStructure {
 | 
				
			|||||||
		$this->time        = $jsonObj->time;
 | 
							$this->time        = $jsonObj->time;
 | 
				
			||||||
		$this->playerArray = $jsonObj->players;
 | 
							$this->playerArray = $jsonObj->players;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		$this->landMark = new Landmark();
 | 
							if (property_exists($jsonObj, 'landmark')) {
 | 
				
			||||||
		$this->landMark->setTag($jsonObj->landmark->tag);
 | 
								$this->landMark = new Landmark();
 | 
				
			||||||
		$this->landMark->setOrder($jsonObj->landmark->order);
 | 
								$this->landMark->setTag($jsonObj->landmark->tag);
 | 
				
			||||||
		$this->landMark->setId($jsonObj->landmark->id);
 | 
								$this->landMark->setOrder($jsonObj->landmark->order);
 | 
				
			||||||
 | 
								$this->landMark->setId($jsonObj->landmark->id);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		$position = new Position();
 | 
								$position = new Position();
 | 
				
			||||||
		$position->setX($jsonObj->landmark->position->x);
 | 
								$position->setX($jsonObj->landmark->position->x);
 | 
				
			||||||
		$position->setY($jsonObj->landmark->position->y);
 | 
								$position->setY($jsonObj->landmark->position->y);
 | 
				
			||||||
		$position->setZ($jsonObj->landmark->position->z);
 | 
								$position->setZ($jsonObj->landmark->position->z);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		$this->landMark->setPosition($position);
 | 
								$this->landMark->setPosition($position);
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/**
 | 
						/**
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user