Skip to content

Commit

Permalink
Modified return type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlegiantJGC committed May 31, 2024
1 parent 2d010f3 commit a6178c2
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 @@ -1643,7 +1643,7 @@ def load_array(
:raises: NBTLoadError if an error occurred when loading the data.
"""

def from_snbt(snbt: str) -> AbstractBaseTag:
def from_snbt(snbt: str) -> AnyNBT:
"""
Load Stringified NBT into a tag.
"""
Expand Down

0 comments on commit a6178c2

Please sign in to comment.