Fix ItemRegistry & block translation

This commit is contained in:
AkmalFairuz
2025-02-22 09:49:02 +07:00
parent 04ae436a21
commit 50ed6fb5b8
11 changed files with 86 additions and 14 deletions

View File

@@ -20,6 +20,8 @@ type ItemRegistry struct {
func (*ItemRegistry) ID() uint32 {
return packet.IDItemRegistry
}
// Marshal ...
func (pk *ItemRegistry) Marshal(io protocol.IO) {
protocol.Slice(io, &pk.Items)
}