fixed type hints

This commit is contained in:
əlemi 2022-01-04 15:37:43 +01:00
parent 47a3a04c12
commit d483dfa068

View file

@ -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: