Add support for "quick-open" at Hydra to MenuEntrySwapper (#7311)
This commit is contained in:
committed by
Tomas Slusny
parent
1fad69cd98
commit
671cbb35fa
@@ -204,8 +204,8 @@ public interface MenuEntrySwapperConfig extends Config
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "swapQuick",
|
||||
name = "Quick Pass/Start/Travel",
|
||||
description = "Swap Pass with Quick-Pass, Ring with Quick-Start and Talk-to with Quick-Travel"
|
||||
name = "Quick Pass/Open/Start/Travel",
|
||||
description = "Swap Pass with Quick-Pass, Open with Quick-Open, Ring with Quick-Start and Talk-to with Quick-Travel"
|
||||
)
|
||||
default boolean swapQuick()
|
||||
{
|
||||
|
||||
@@ -497,6 +497,10 @@ public class MenuEntrySwapperPlugin extends Plugin
|
||||
swap("quick-pass", option, target, true);
|
||||
swap("quick pass", option, target, true);
|
||||
}
|
||||
else if (config.swapQuick() && option.equals("open"))
|
||||
{
|
||||
swap("quick-open", option, target, true);
|
||||
}
|
||||
else if (config.swapAdmire() && option.equals("admire"))
|
||||
{
|
||||
swap("teleport", option, target, true);
|
||||
|
||||
Reference in New Issue
Block a user