There was a import error
This commit is contained in:
		@@ -2,7 +2,7 @@
 | 
				
			|||||||
# SPDX-License-Identifier: GPL-3.0-or-later
 | 
					# SPDX-License-Identifier: GPL-3.0-or-later
 | 
				
			||||||
 | 
					
 | 
				
			||||||
from random import randint
 | 
					from random import randint
 | 
				
			||||||
from typing import Dict, Tuple
 | 
					from typing import Dict, Tuple, Any
 | 
				
			||||||
 | 
					
 | 
				
			||||||
from ..interfaces import FightingEntity
 | 
					from ..interfaces import FightingEntity
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -117,7 +117,7 @@ class Player(FightingEntity):
 | 
				
			|||||||
                queue.append((new_y, new_x))
 | 
					                queue.append((new_y, new_x))
 | 
				
			||||||
        self.paths = predecessors
 | 
					        self.paths = predecessors
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def add_to_inventory(self, obj : Item) -> None :
 | 
					    def add_to_inventory(self, obj : Any) -> None :
 | 
				
			||||||
        """
 | 
					        """
 | 
				
			||||||
        Adds an object to inventory
 | 
					        Adds an object to inventory
 | 
				
			||||||
        """
 | 
					        """
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user