Skip to content

Commit 9c093c2

Browse files
cqb13Wide-Cat
authored andcommitted
hide line and side settings appropriately in Break Indicators
1 parent 32fd5a8 commit 9c093c2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/main/java/meteordevelopment/meteorclient/systems/modules/render/BreakIndicators.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,27 +48,31 @@ public class BreakIndicators extends Module {
4848
.name("start-side-color")
4949
.description("The side color for the non-broken block.")
5050
.defaultValue(new SettingColor(25, 252, 25, 150))
51+
.visible(() -> shapeMode.get().sides())
5152
.build()
5253
);
5354

5455
private final Setting<SettingColor> startLineColor = sgGeneral.add(new ColorSetting.Builder()
5556
.name("start-line-color")
5657
.description("The line color for the non-broken block.")
5758
.defaultValue(new SettingColor(25, 252, 25, 150))
59+
.visible(() -> shapeMode.get().lines())
5860
.build()
5961
);
6062

6163
private final Setting<SettingColor> endSideColor = sgGeneral.add(new ColorSetting.Builder()
6264
.name("end-side-color")
6365
.description("The side color for the fully-broken block.")
6466
.defaultValue(new SettingColor(255, 25, 25, 150))
67+
.visible(() -> shapeMode.get().sides())
6568
.build()
6669
);
6770

6871
private final Setting<SettingColor> endLineColor = sgGeneral.add(new ColorSetting.Builder()
6972
.name("end-line-color")
7073
.description("The line color for the fully-broken block.")
7174
.defaultValue(new SettingColor(255, 25, 25, 150))
75+
.visible(() -> shapeMode.get().lines())
7276
.build()
7377
);
7478

0 commit comments

Comments
 (0)