Nmz swapper
This commit is contained in:
@@ -323,4 +323,14 @@ public interface MenuEntrySwapperConfig extends Config
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "swapDream",
|
||||
name = "Dream",
|
||||
description = "Swap Talk-to with Dream for Dominic Onion"
|
||||
)
|
||||
default boolean swapDream()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -457,6 +457,11 @@ public class MenuEntrySwapperPlugin extends Plugin
|
||||
swap(client, "pay (", option, target, false);
|
||||
}
|
||||
|
||||
if (config.swapDream())
|
||||
{
|
||||
swap(client, "dream", option, target, true);
|
||||
}
|
||||
|
||||
if (config.swapDecant())
|
||||
{
|
||||
swap(client, "decant", option, target, true);
|
||||
|
||||
Reference in New Issue
Block a user