Merge pull request #10321 from ShaunDreclin/arceuus-help-swap
Menu Entry Swapper: Add 'help' swap to Arceuus library customers
This commit is contained in:
@@ -192,6 +192,16 @@ public interface MenuEntrySwapperConfig extends Config
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ConfigItem(
|
||||||
|
keyName = "swapHelp",
|
||||||
|
name = "Help",
|
||||||
|
description = "Swap Talk-to with Help on Arceuus library customers"
|
||||||
|
)
|
||||||
|
default boolean swapHelp()
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
keyName = "swapHomePortal",
|
keyName = "swapHomePortal",
|
||||||
name = "Home",
|
name = "Home",
|
||||||
|
|||||||
@@ -401,6 +401,11 @@ public class MenuEntrySwapperPlugin extends Plugin
|
|||||||
swap("exchange", option, target, index);
|
swap("exchange", option, target, index);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (config.swapHelp())
|
||||||
|
{
|
||||||
|
swap("help", option, target, index);
|
||||||
|
}
|
||||||
|
|
||||||
if (config.swapDarkMage())
|
if (config.swapDarkMage())
|
||||||
{
|
{
|
||||||
swap("repairs", option, target, index);
|
swap("repairs", option, target, index);
|
||||||
|
|||||||
Reference in New Issue
Block a user