aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/polyfrost/oneconfig/test
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-04-29 18:01:59 +0200
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-04-29 18:01:59 +0200
commitccec3f80c799b0127d7402201be63773916826bf (patch)
treeb483204b16ac6b31da6555c242c6415d63b51951 /src/main/java/io/polyfrost/oneconfig/test
parent86f6f3e8c3ae91ddbc29985f73e1d4f29f0a4b17 (diff)
downloadOneConfig-ccec3f80c799b0127d7402201be63773916826bf.tar.gz
OneConfig-ccec3f80c799b0127d7402201be63773916826bf.tar.bz2
OneConfig-ccec3f80c799b0127d7402201be63773916826bf.zip
fix a bunch of things
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/test')
-rw-r--r--src/main/java/io/polyfrost/oneconfig/test/TestConfig.java24
1 files changed, 8 insertions, 16 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/test/TestConfig.java b/src/main/java/io/polyfrost/oneconfig/test/TestConfig.java
index a7b7b90..fc8296d 100644
--- a/src/main/java/io/polyfrost/oneconfig/test/TestConfig.java
+++ b/src/main/java/io/polyfrost/oneconfig/test/TestConfig.java
@@ -9,35 +9,35 @@ import io.polyfrost.oneconfig.config.interfaces.Config;
public class TestConfig extends Config {
@Option(
- name = "Test switch",
+ name = "Test checkbox",
description = "Best description",
subcategory = "Test",
- type = OptionType.SWITCH
+ type = OptionType.CHECKBOX
)
public static boolean switchTest;
@Option(
- name = "Test switch",
+ name = "Test checkbox",
description = "Best description",
subcategory = "Test",
- type = OptionType.SWITCH
+ type = OptionType.CHECKBOX
)
public static boolean switchTest1;
@Option(
- name = "Test switch",
+ name = "Test checkbox",
description = "Best description",
subcategory = "Test",
- type = OptionType.SWITCH,
+ type = OptionType.CHECKBOX,
size = 2
)
public static boolean switchTest2;
@Option(
- name = "Test switch",
+ name = "Test checkbox",
description = "Best description",
subcategory = "Test",
- type = OptionType.SWITCH
+ type = OptionType.CHECKBOX
)
public static boolean switchTest3;
@@ -49,14 +49,6 @@ public class TestConfig extends Config {
public static TestPage testPage = new TestPage();
@Option(
- name = "Test Page But better",
- type = OptionType.PAGE,
- subcategory = "Test",
- description = "The best page to have ever existed"
- )
- public static TestPage testPage2 = new TestPage();
-
- @Option(
name = "Test switch",
description = "Best description",
subcategory = "Other subcategory",