Skip to content

Commit 3b9a596

Browse files
committed
Fix type not subscriptable for versions below 3.10
1 parent 094ed40 commit 3b9a596

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcproto/packets/map.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
__all__ = ["PacketMap"]
1313

1414

15-
class PacketMap(VersionMap[tuple[PacketDirection, GameState, int], type[Packet]]):
15+
class PacketMap(VersionMap["tuple[PacketDirection, GameState, int]", "type[Packet]"]):
1616
SUPPORTED_VERSIONS: ClassVar[set[int]] = {757}
1717
COMPATIBLE_FALLBACK_VERSIONS: ClassVar[set[int]] = set()
1818
_SEARCH_DIR_QUALNAME: ClassVar[str] = "mcproto.packets"

0 commit comments

Comments
 (0)