change method name to legacy mapblocks

This commit is contained in:
Thomas Rudin 2019-02-10 20:30:37 +01:00
parent ab1293c903
commit 04ef01ee78
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ import (
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
) )
func (a *MapBlockAccessor) FindMapBlocksByPos(lastpos *coords.MapBlockCoords, limit int, layerfilter []layer.Layer) (*FindMapBlocksResult, error) { func (a *MapBlockAccessor) FindNextLegacyBlocks(lastpos *coords.MapBlockCoords, limit int, layerfilter []layer.Layer) (*FindMapBlocksResult, error) {
fields := logrus.Fields{ fields := logrus.Fields{
"x": lastpos.X, "x": lastpos.X,

View File

@ -35,7 +35,7 @@ func initialRender(ctx *app.App, jobs chan *coords.TileCoords) {
for true { for true {
start := time.Now() start := time.Now()
result, err := ctx.BlockAccessor.FindMapBlocksByPos(lastcoords, ctx.Config.RenderingFetchLimit, ctx.Config.Layers) result, err := ctx.BlockAccessor.FindNextLegacyBlocks(lastcoords, ctx.Config.RenderingFetchLimit, ctx.Config.Layers)
if err != nil { if err != nil {
panic(err) panic(err)