Skip to content

Consider removing the generic cast from UnmodifiableConfig.get (WDYT?) #172

@TheElectronWill

Description

@TheElectronWill

It seems that the automatic casts confuse/surprise some people (cf. NeoForge server).
What do you guys think? Should we keep config.get<T> or require an explicit type, such as config.getXYZ or config.get(Class<T>)?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions