Skip to content

Commit d035652

Browse files
committed
Add DISABLE_OPTIFINE_CAPES config option
1 parent 88ccc48 commit d035652

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

api/src/main/java/com/lunarclient/apollo/module/evnt/EVNTModule.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,11 @@ public abstract class EVNTModule extends ApolloModule {
126126
.node("regen-exhaustion-heal-amount").type(TypeToken.get(Integer.class))
127127
.defaultValue(3).min(0).max(5).build();
128128

129+
public static final SimpleOption<Boolean> DISABLE_OPTIFINE_CAPES = Option.<Boolean>builder()
130+
.comment("Set to 'true' to disable optifine capes, otherwise 'false'.")
131+
.node("disable-optifine-capes").type(TypeToken.get(Boolean.class))
132+
.defaultValue(true).build();
133+
129134
public static final SimpleOption<Boolean> DISABLE_NOTIFY_MISMATCH = Option.<Boolean>builder()
130135
.comment("Set to 'true' to disable notifications for players using the wrong branch or version, otherwise 'false'.")
131136
.node("disable-notify-mismatch").type(TypeToken.get(Boolean.class))
@@ -154,6 +159,7 @@ public abstract class EVNTModule extends ApolloModule {
154159
EVNTModule.REGEN_INTERVAL,
155160
EVNTModule.REGEN_HEAL_AMOUNT,
156161
EVNTModule.REGEN_EXHAUSTION_HEAL_AMOUNT,
162+
EVNTModule.DISABLE_OPTIFINE_CAPES,
157163
EVNTModule.DISABLE_NOTIFY_MISMATCH,
158164
EVNTModule.DEBUG
159165
);

0 commit comments

Comments
 (0)