menu entry swapper: swap nets on annette

This commit is contained in:
dekvall
2020-03-13 02:20:21 +01:00
committed by Adam
parent 32b98965fe
commit 9ac4592a63
2 changed files with 15 additions and 0 deletions

View File

@@ -421,4 +421,14 @@ public interface MenuEntrySwapperConfig extends Config
{
return false;
}
@ConfigItem(
keyName = "swapNets",
name = "Nets",
description = "Swap Talk-to with Nets on Annette"
)
default boolean swapNets()
{
return true;
}
}

View File

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