aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/test
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-05-11 20:11:42 +0200
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-05-11 20:11:42 +0200
commit174dcbf96f4715fe52a21ca8592d5d71b6fa4a8b (patch)
tree514d5bfbf20de70822d577e5a47ec47850d6d8e7 /src/main/java/cc/polyfrost/oneconfig/test
parent671a9bbad56f7760536058d2c364c0b9ff2f9e52 (diff)
downloadOneConfig-174dcbf96f4715fe52a21ca8592d5d71b6fa4a8b.tar.gz
OneConfig-174dcbf96f4715fe52a21ca8592d5d71b6fa4a8b.tar.bz2
OneConfig-174dcbf96f4715fe52a21ca8592d5d71b6fa4a8b.zip
disabling
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/test')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/test/TestConfig.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/test/TestConfig.java b/src/main/java/cc/polyfrost/oneconfig/test/TestConfig.java
index 439c51d..8dc2889 100644
--- a/src/main/java/cc/polyfrost/oneconfig/test/TestConfig.java
+++ b/src/main/java/cc/polyfrost/oneconfig/test/TestConfig.java
@@ -8,6 +8,8 @@ import cc.polyfrost.oneconfig.config.interfaces.Config;
import cc.polyfrost.oneconfig.lwjgl.OneColor;
import net.minecraftforge.fml.common.FMLCommonHandler;
+import java.lang.reflect.Field;
+
public class TestConfig extends Config {
@Option(
@@ -318,6 +320,8 @@ public class TestConfig extends Config {
public TestConfig() {
super(new Mod("hacks", ModType.UTIL_QOL, "ShadyDev", "1.0"), "hacksConfig.json");
+ addDependency("switchTest5", () -> switchTest4);
+ addDependency("Test page.testDescription", () -> false);
}
}