Missing type
This commit is contained in:
parent
26196a7dca
commit
1684647ea2
|
@ -1,3 +1,6 @@
|
||||||
|
from typing import Any
|
||||||
|
|
||||||
|
|
||||||
class TexturePack:
|
class TexturePack:
|
||||||
_packs = dict()
|
_packs = dict()
|
||||||
|
|
||||||
|
@ -16,7 +19,7 @@ class TexturePack:
|
||||||
self.__dict__.update(**kwargs)
|
self.__dict__.update(**kwargs)
|
||||||
TexturePack._packs[name] = self
|
TexturePack._packs[name] = self
|
||||||
|
|
||||||
def __getitem__(self, item):
|
def __getitem__(self, item) -> Any:
|
||||||
return self.__dict__[item]
|
return self.__dict__[item]
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
Loading…
Reference in New Issue