Skip to content

Commit

Permalink
Fix type not subscriptable for versions below 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsDrike committed Dec 25, 2022
1 parent 094ed40 commit 3b9a596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mcproto/packets/map.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
__all__ = ["PacketMap"]


class PacketMap(VersionMap[tuple[PacketDirection, GameState, int], type[Packet]]):
class PacketMap(VersionMap["tuple[PacketDirection, GameState, int]", "type[Packet]"]):
SUPPORTED_VERSIONS: ClassVar[set[int]] = {757}
COMPATIBLE_FALLBACK_VERSIONS: ClassVar[set[int]] = set()
_SEARCH_DIR_QUALNAME: ClassVar[str] = "mcproto.packets"
Expand Down

0 comments on commit 3b9a596

Please sign in to comment.