Skip to content

a better approach for triggering world generation without using leveldb.ErrNotFound #1098

@schphe

Description

@schphe

currently dragonfly's internal (*World).loadChunk function appears to be written with leveldb in mind

hence those who want to implement their own third-party world providers need to import leveldb package
and return leveldb.ErrNotFound in order to trigger world generation for the chunk

to keep things more neat, i think we should introduce a better approach for triggering it or a chunk.ErrNotFound error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions