aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/config/interfaces/Config.java
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-05-10 17:48:05 +0200
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-05-10 17:48:05 +0200
commite299255d82e69e461893ce8ff0ec945c253d945f (patch)
tree24dea1adb3987d997db37bc3c636a65a55040426 /src/main/java/cc/polyfrost/oneconfig/config/interfaces/Config.java
parentf0aac9cac78fc14e2991741061c67b622c039f37 (diff)
downloadOneConfig-e299255d82e69e461893ce8ff0ec945c253d945f.tar.gz
OneConfig-e299255d82e69e461893ce8ff0ec945c253d945f.tar.bz2
OneConfig-e299255d82e69e461893ce8ff0ec945c253d945f.zip
button
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/config/interfaces/Config.java')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/config/interfaces/Config.java3
1 files changed, 3 insertions, 0 deletions
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 35115b1..c00c62e 100644
--- a/src/main/java/cc/polyfrost/oneconfig/config/interfaces/Config.java
+++ b/src/main/java/cc/polyfrost/oneconfig/config/interfaces/Config.java
@@ -145,6 +145,9 @@ public class Config {
case HEADER:
options.add(new ConfigHeader(field, option.name(), option.size()));
break;
+ case BUTTON:
+ options.add(new ConfigButton(field, option.name(), option.size(), option.buttonText()));
+ break;
}
}
}