From 1284f44f14f4e70b7a6f479dd2e338fd7408bca8 Mon Sep 17 00:00:00 2001 From: DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> Date: Sat, 7 May 2022 14:17:16 +0200 Subject: info field --- src/main/java/cc/polyfrost/oneconfig/config/interfaces/Config.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/java/cc/polyfrost/oneconfig/config/interfaces/Config.java') diff --git a/src/main/java/cc/polyfrost/oneconfig/config/interfaces/Config.java b/src/main/java/cc/polyfrost/oneconfig/config/interfaces/Config.java index bad3f14..86c9893 100644 --- a/src/main/java/cc/polyfrost/oneconfig/config/interfaces/Config.java +++ b/src/main/java/cc/polyfrost/oneconfig/config/interfaces/Config.java @@ -129,6 +129,8 @@ public class Config { case SLIDER: options.add(new ConfigSlider(field, option.name(), option.size(), option.min(), option.max(), option.step())); break; + case INFO: + options.add(new ConfigInfo(field, option.name(), option.size(), option.infoType())); } } } -- cgit