todo
This commit is contained in:
		
				
					committed by
					
						
						Steffen Schröder
					
				
			
			
				
	
			
			
			
						parent
						
							0bdb1a7826
						
					
				
				
					commit
					0587d811c9
				
			@@ -421,6 +421,9 @@ class MapManager implements CallbackListener {
 | 
			
		||||
	 * @param array $callback
 | 
			
		||||
	 */
 | 
			
		||||
	public function handleBeginMap(array $callback) {
 | 
			
		||||
		if(!isset($callback[1][0]["UId"])) { //TODO why this can happen?
 | 
			
		||||
			return;
 | 
			
		||||
		}
 | 
			
		||||
		if(array_key_exists($callback[1][0]["UId"], $this->maps)) {
 | 
			
		||||
			// Map already exists, only update index
 | 
			
		||||
			$this->currentMap = $this->maps[$callback[1][0]["UId"]];
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user