fix compile errors
This commit is contained in:
parent
a6488c98c9
commit
bd8e3fcddb
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue