Skip to content

Commit d52e88a

Browse files
committed
[FIX] compatibility with 1.21.11 20 build
- Due to MeteorDevelopment/meteor-client@0bdce44 change
1 parent be0642a commit d52e88a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/main/java/nekiplay/meteorplus/features/modules/combat/killaura/KillAuraPlus.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@ public KillAuraPlus() {
3636

3737
// General
3838

39-
public final Setting<KillAura.Weapon> weapon = sgGeneral.add(new EnumSetting.Builder<KillAura.Weapon>()
39+
public final Setting<KillAura.AttackItems> weapon = sgGeneral.add(new EnumSetting.Builder<KillAura.AttackItems>()
4040
.name("weapon")
4141
.description("Only attacks an entity when a specified weapon is in your hand.")
42-
.defaultValue(KillAura.Weapon.All)
42+
.defaultValue(KillAura.AttackItems.All)
4343
.build()
4444
);
4545

4646
public final Setting<Boolean> autoSwitch = sgGeneral.add(new BoolSetting.Builder()
4747
.name("auto-switch")
48-
.description("Switches to your selected weapon when attacking the target.")
48+
.description("Switches to an acceptable weapon when attacking the target.")
4949
.defaultValue(false)
5050
.build()
5151
);
@@ -54,7 +54,7 @@ public KillAuraPlus() {
5454
.name("shield-mode")
5555
.description("Will try and use an axe to break target shields.")
5656
.defaultValue(KillAura.ShieldMode.Break)
57-
.visible(() -> autoSwitch.get() && weapon.get() != KillAura.Weapon.Axe)
57+
.visible(autoSwitch::get)
5858
.build()
5959
);
6060

0 commit comments

Comments
 (0)