Nmz swapper

This commit is contained in:
James Munson
2019-05-21 01:30:11 -07:00
parent f2c104f7ba
commit b6f0301a9a
2 changed files with 15 additions and 0 deletions

View File

@@ -323,4 +323,14 @@ public interface MenuEntrySwapperConfig extends Config
{ {
return false; return false;
} }
@ConfigItem(
keyName = "swapDream",
name = "Dream",
description = "Swap Talk-to with Dream for Dominic Onion"
)
default boolean swapDream()
{
return true;
}
} }

View File

@@ -457,6 +457,11 @@ public class MenuEntrySwapperPlugin extends Plugin
swap(client, "pay (", option, target, false); swap(client, "pay (", option, target, false);
} }
if (config.swapDream())
{
swap(client, "dream", option, target, true);
}
if (config.swapDecant()) if (config.swapDecant())
{ {
swap(client, "decant", option, target, true); swap(client, "decant", option, target, true);