Fix ItemRegistry & block translation
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user