Skip to content

List<Enum> translation keys are not created correctly #16

@Jamalam360

Description

@Jamalam360

Instead of field.getName(), we can use field.getBackingField().getName()

String translationKey = ConfigScreen.createTranslationKey(this.configManager.getModId(), this.configManager.getConfigName(), field.getName() + "." + this.getFieldValue().name().toLowerCase());

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions