Fix tests, changes pk.NBT api
This commit is contained in:
@ -47,8 +47,8 @@ func (p *Player) handleJoinGamePacket(packet pk.Packet) error {
|
||||
(*pk.Byte)(&p.PrevGamemode),
|
||||
&WorldCount,
|
||||
pk.Ary{Len: &WorldCount, Ary: &WorldNames},
|
||||
&pk.NBT{V: new(interface{})},
|
||||
&pk.NBT{V: new(interface{})},
|
||||
pk.NBT(new(interface{})),
|
||||
pk.NBT(new(interface{})),
|
||||
(*pk.Identifier)(&p.WorldName),
|
||||
(*pk.Long)(&p.HashedSeed),
|
||||
(*pk.VarInt)(&p.MaxPlayers),
|
||||
|
Reference in New Issue
Block a user