Skip to content

Statistic bundle namespaces should be validated within the configuration #31

@haykam821

Description

@haykam821

A generic string codec is used in statistic bundle namespace configuration:

Codec.STRING.optionalFieldOf("statistics_bundle", LoopDeLoop.ID).forGetter(LoopDeLoopConfig::statisticsBundle),

However, this approach means that the game may fail at runtime. Instead, the codec added in NucleoidMC/plasmid#204 should be used to ensure that games with invalid statistic bundle namespaces fail to load.

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