oops call super constructor
This commit is contained in:
parent
540dbd5d90
commit
3d88180892
2 changed files with 2 additions and 0 deletions
|
@ -65,6 +65,7 @@ class MinecraftClient(CallbacksHolder, Runnable):
|
|||
poll_interval:float = 1.0,
|
||||
|
||||
):
|
||||
super().__init__()
|
||||
self.host = host
|
||||
self.port = port
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@ class CallbacksHolder:
|
|||
_tasks : Dict[str, asyncio.Task]
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self._callbacks = {}
|
||||
|
||||
def register(self, key:Any, callback:Callable):
|
||||
|
|
Loading…
Reference in a new issue