Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[owo-config] Mod menu does not display double nested options #271

Open
LubieKakao1212 opened this issue Jul 18, 2024 · 0 comments
Open

[owo-config] Mod menu does not display double nested options #271

LubieKakao1212 opened this issue Jul 18, 2024 · 0 comments

Comments

@LubieKakao1212
Copy link

When I try to nest nested configs they don't appear in the Modmenu config options. The json config works fine.

The code I have currently:

@Nest
public Dispensers DEVICES_DISPENSERS = new Dispensers();

public static class Dispensers {
    @Nest
    public DispenserDeviceConfig VANILLA_DISPENSER_DEVICE = new DispenserDeviceConfig(OpenCUConfigCommon.Defaults.VANILLA_DISPENSER_DEVICE);
    @Nest
    public DispenserDeviceConfig GOLDEN_DISPENSER_DEVICE = new DispenserDeviceConfig(OpenCUConfigCommon.Defaults.GOLDEN_DISPENSER_DEVICE);
    @Nest
    public DispenserDeviceConfig DIAMOND_DISPENSER_DEVICE = new DispenserDeviceConfig(OpenCUConfigCommon.Defaults.DIAMOND_DISPENSER_DEVICE);
    @Nest
    public DispenserDeviceConfig NETHERITE_DISPENSER_DEVICE = new DispenserDeviceConfig(OpenCUConfigCommon.Defaults.NETHERITE_DISPENSER_DEVICE);

}

I know that DispenserDeviceConfig works since when I put is outside of Dispensers it works fine

latest.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant