fix compile errors

This commit is contained in:
olebeck 2023-03-14 02:10:16 +01:00
parent a6488c98c9
commit bd8e3fcddb
2 changed files with 1 additions and 9 deletions

View File

@ -252,10 +252,6 @@ func (w *WorldState) Reset() {
w.chunks = make(map[protocol.ChunkPos]*chunk.Chunk)
w.WorldName = fmt.Sprintf("world-%d", w.worldCounter)
w.mapUI.Reset()
w.gui.Message(utils.SavingWorldName, utils.SavingWorldPayload{
Saving: false,
})
}
// SaveAndReset writes the world to a folder, resets all the chunks
@ -283,10 +279,6 @@ func (w *WorldState) SaveAndReset() {
return
}
w.gui.Message(utils.SavingWorldName, utils.SavingWorldPayload{
Saving: true,
})
logrus.Infof(locale.Loc("saving_world", locale.Strmap{"Name": w.WorldName, "Count": len(w.chunks)}))
// open world

View File

@ -44,7 +44,7 @@ func (p *Page) Overflow() []component.OverflowAction {
func (p *Page) NavItem() component.NavItem {
return component.NavItem{
Name: "About this library",
Name: "World Downloader",
//Icon: icon.OtherIcon,
}
}