File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/nekiplay/meteorplus/features/modules/combat/killaura Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,10 +36,10 @@ 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
@@ -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
You can’t perform that action at this time.
0 commit comments