Skip to content

Commit

Permalink
Fix typehint
Browse files Browse the repository at this point in the history
  • Loading branch information
shBLOCK committed Oct 9, 2024
1 parent dc9bbdc commit e6bb906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/amulet_nbt/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class AbstractBaseTag:
compressed: bool = True,
little_endian: bool = False,
string_encoding: StringEncoding = mutf8_encoding,
name: str | bytes = b"",
name: str | bytes | None = b"",
) -> bytes:
"""Convert the data to the binary NBT format. Optionally write to a file.
Expand Down

0 comments on commit e6bb906

Please sign in to comment.