Merge pull request #10321 from ShaunDreclin/arceuus-help-swap

Menu Entry Swapper: Add 'help' swap to Arceuus library customers
This commit is contained in:
Tomas Slusny
2019-12-04 14:27:25 +01:00
committed by GitHub
2 changed files with 15 additions and 0 deletions

View File

@@ -192,6 +192,16 @@ public interface MenuEntrySwapperConfig extends Config
return false;
}
@ConfigItem(
keyName = "swapHelp",
name = "Help",
description = "Swap Talk-to with Help on Arceuus library customers"
)
default boolean swapHelp()
{
return true;
}
@ConfigItem(
keyName = "swapHomePortal",
name = "Home",

View File

@@ -401,6 +401,11 @@ public class MenuEntrySwapperPlugin extends Plugin
swap("exchange", option, target, index);
}
if (config.swapHelp())
{
swap("help", option, target, index);
}
if (config.swapDarkMage())
{
swap("repairs", option, target, index);