Name players correctly.

This commit is contained in:
Sascha L. Teichmann 2022-02-28 16:21:26 +01:00
parent db45013f4e
commit 6ffa0e1001
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ type connection struct {
type msg struct {
Tiles []xz `json:"tiles,omitempty"`
Pls []*player `json:"pls,omitempty"`
Pls []*player `json:"players,omitempty"`
}
func newWebsocketForwarder() *websocketForwarder {

View File

@ -200,7 +200,7 @@ func (btc *BaseTileCreator) WriteFunc(i, j int, update BaseTileUpdateFunc) func(
return true, SaveAsPNGAtomic(path, image)
}
log.Printf("(%d, %d) is unchanged.\n", x, z)
//log.Printf("(%d, %d) is unchanged.\n", x, z)
return false, nil
}
}