From e9a5843ffe222baf59e1bfee15f5eb41cdc99e5b Mon Sep 17 00:00:00 2001 From: raven Date: Wed, 25 Mar 2026 16:07:24 -0500 Subject: add additional packet types to packets.go --- classic/packets.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'classic') diff --git a/classic/packets.go b/classic/packets.go index 40f659c..776e867 100644 --- a/classic/packets.go +++ b/classic/packets.go @@ -203,7 +203,12 @@ func createPacketType(packetId byte, client bool, ext map[string]bool) Packet { case 0x13: return &CustomBlocksSupportLevel {} case 0x16: return &AddPlayerName {} case 0x18: return &RemovePlayerName {} + case 0x1c: return &SetBlockPermission {} + case 0x20: return &HackControl {} case 0x21: return &AddEntity2 {} + case 0x23: return &DefineBlock {} + case 0x24: return &RemoveBlockDefinition {} + case 0x25: return &DefineBlockExt {} case 0x29: return &SetMapEnvProperty {} default: return nil } -- cgit v1.2.3