Fix option name for claim dynamite, make claim higher priority than trade

This commit is contained in:
FrostyFridge
2019-06-16 10:53:14 -07:00
parent 4d3b7b2510
commit 2f121804d5

View File

@@ -938,6 +938,11 @@ public class MenuEntrySwapperPlugin extends Plugin
swap(client, "buy-plank", option, target, true);
}
if (config.claimDynamite() && target.equals("thirus"))
{
swap(client, "claim", option, target, true);
}
if (config.swapTrade())
{
swap(client, "trade", option, target, true);
@@ -950,11 +955,6 @@ public class MenuEntrySwapperPlugin extends Plugin
swap(client, "claim-slime", option, target, true);
}
if (config.claimDynamite() && target.contains("Thirus"))
{
swap(client, "claim-dynamite", option, target, true);
}
if (config.swapTravel())
{
swap(client, "travel", option, target, true);