Core: fix incorrect ordering on the always_allow static method (#2938)
This commit is contained in:
		
							parent
							
								
									1705213353
								
							
						
					
					
						commit
						c4ec8682d5
					
				| 
						 | 
				
			
			@ -1032,7 +1032,7 @@ class Location:
 | 
			
		|||
    locked: bool = False
 | 
			
		||||
    show_in_spoiler: bool = True
 | 
			
		||||
    progress_type: LocationProgressType = LocationProgressType.DEFAULT
 | 
			
		||||
    always_allow = staticmethod(lambda item, state: False)
 | 
			
		||||
    always_allow = staticmethod(lambda state, item: False)
 | 
			
		||||
    access_rule: Callable[[CollectionState], bool] = staticmethod(lambda state: True)
 | 
			
		||||
    item_rule = staticmethod(lambda item: True)
 | 
			
		||||
    item: Optional[Item] = None
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue