There was a import error

This commit is contained in:
eichhornchen 2020-12-05 21:50:02 +01:00
parent ba68e68584
commit 38842cee68
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later
from random import randint
from typing import Dict, Tuple
from typing import Dict, Tuple, Any
from ..interfaces import FightingEntity
@ -117,7 +117,7 @@ class Player(FightingEntity):
queue.append((new_y, new_x))
self.paths = predecessors
def add_to_inventory(self, obj : Item) -> None :
def add_to_inventory(self, obj : Any) -> None :
"""
Adds an object to inventory
"""