diff --git a/aiocraft/mc/types.py b/aiocraft/mc/types.py index f099027..5726e16 100644 --- a/aiocraft/mc/types.py +++ b/aiocraft/mc/types.py @@ -205,7 +205,7 @@ class PositionType(Type): Position = PositionType() class UUIDType(Type): - pytype : type = str # TODO maybe use partial with uuid constructor? + pytype : type = uuid.UUID MAX_SIZE : int = 16 def write(self, data:uuid.UUID, buffer:io.BytesIO, ctx:object=None):