Bug fixes in /server

This commit is contained in:
Tnze
2021-12-27 00:30:42 +08:00
parent d8f5f03524
commit a83698af97
3 changed files with 2 additions and 3 deletions

View File

@ -231,7 +231,7 @@ func (s *Section) WriteTo(w io.Writer) (int64, error) {
func (s *Section) ReadFrom(r io.Reader) (int64, error) {
return pk.Tuple{
pk.Short(s.blockCount),
(*pk.Short)(&s.blockCount),
s.States,
s.Biomes,
}.ReadFrom(r)