oωo (owo-lib)

oωo (owo-lib)

23M Downloads

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

LubieKakao1212 opened this issue · 0 comments

commented

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