fixed type hints
This commit is contained in:
parent
47a3a04c12
commit
d483dfa068
1 changed files with 2 additions and 2 deletions
|
@ -68,6 +68,7 @@ TYPE_MAP = {
|
|||
"UUID": Ref('UUID'),
|
||||
"string": Ref('String'),
|
||||
"nbt": Ref('NBTTag'),
|
||||
"optionalNbt": Ref('OptionalType(NBTTag)'),
|
||||
"slot": Ref('Slot'),
|
||||
"position": Ref('Position'),
|
||||
"entityMetadataItem": Ref('EntityMetadataItem'),
|
||||
|
@ -93,8 +94,7 @@ HINT_MAP = {
|
|||
"nbt": 'bytes',
|
||||
"slot": 'dict',
|
||||
"position": 'tuple',
|
||||
"entityMetadataItem": 'bytes',
|
||||
"entityMetadata": 'bytes',
|
||||
"entityMetadata": 'dict',
|
||||
}
|
||||
|
||||
def _format_line(i, depth:int=0) -> str:
|
||||
|
|
Loading…
Reference in a new issue