committed by
Tomas Slusny
parent
d4808625af
commit
3a5ac9f725
@@ -97,11 +97,22 @@ public interface AttackStylesConfig extends Config
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "hideAutoRetaliate",
|
||||
name = "Hide auto retaliate",
|
||||
description = "Hide auto retaliate from the combat options tab",
|
||||
position = 7
|
||||
)
|
||||
default boolean hideAutoRetaliate()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "removeWarnedStyles",
|
||||
name = "Remove warned styles",
|
||||
description = "Remove warned styles from the combat options tab",
|
||||
position = 7
|
||||
position = 8
|
||||
)
|
||||
default boolean removeWarnedStyles()
|
||||
{
|
||||
|
||||
@@ -126,6 +126,7 @@ public class AttackStylesPlugin extends Plugin
|
||||
overlayManager.remove(overlay);
|
||||
hideWarnedStyles(false);
|
||||
processWidgets();
|
||||
hideWidget(client.getWidget(WidgetInfo.COMBAT_AUTO_RETALIATE), false);
|
||||
}
|
||||
|
||||
public AttackStyle getAttackStyle()
|
||||
@@ -174,6 +175,7 @@ public class AttackStylesPlugin extends Plugin
|
||||
hideWidget(client.getWidget(widgetKey), widgetsToHide.get(equippedWeaponType, widgetKey));
|
||||
}
|
||||
}
|
||||
hideWidget(client.getWidget(WidgetInfo.COMBAT_AUTO_RETALIATE), config.hideAutoRetaliate());
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
|
||||
Reference in New Issue
Block a user