diff options
| author | raven <citrons@mondecitronne.com> | 2026-03-25 16:07:24 -0500 |
|---|---|---|
| committer | raven <citrons@mondecitronne.com> | 2026-03-25 16:12:18 -0500 |
| commit | e9a5843ffe222baf59e1bfee15f5eb41cdc99e5b (patch) | |
| tree | 8b9c3efebc0357a28dcf89f2dc9f08a7bf6d5b77 /classic/packets.go | |
| parent | 2a0d176d094837c675fc7b24bd82500e13897dc8 (diff) | |
add additional packet types to packets.go
Diffstat (limited to 'classic/packets.go')
| -rw-r--r-- | classic/packets.go | 5 |
1 files changed, 5 insertions, 0 deletions
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 } |
