forked from MapComplete/MapComplete
		
	Add error message on common typo in layerconfigs, fix #1928
This commit is contained in:
		
							parent
							
								
									8e70ecce8a
								
							
						
					
					
						commit
						799e2910c3
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -1647,6 +1647,10 @@ export class ValidateLayer extends Conversion< | |||
|             } | ||||
|         } | ||||
| 
 | ||||
|         if(json.allowMove?.["enableAccuraccy"] !== undefined){ | ||||
|             context.enters("allowMove", "enableAccuracy").err("`enableAccuracy` is written with two C in the first occurrence and only one in the last") | ||||
|         } | ||||
| 
 | ||||
|         return { raw: json, parsed: layerConfig } | ||||
|     } | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue