Skip to content

Vanilla release registry fetches the wrong version #476

@tryashtar

Description

@tryashtar
import beet
import beet.contrib.vanilla

def main(ctx: beet.Context):
   version = '1.19'
   vanilla = beet.contrib.vanilla.Vanilla(ctx=ctx, minecraft_version=version)
   # fetches 1.19.4 instead
   assert vanilla.releases[version].info.data["id"] == version

It seems like this ignoring of minor versions is pervasive in beet right now (#471), although the vanilla lookups have no problem fetching unusual versions as long as their name isn't a prefix of another version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions