Menu Entry Swapper: remove smithing options (#1182)
* Update MenuEntrySwapperConfig.java * Update MenuEntrySwapperPlugin.java * Update MenuEntrySwapperConfig.java
This commit is contained in:
@@ -913,23 +913,11 @@ default CharterOption charterOption()
|
||||
return "";
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "swapSmithing",
|
||||
name = "Swap Smithing",
|
||||
description = "Enables swapping of 'Smith-1' and 'Smith-all' options.",
|
||||
position = 2,
|
||||
group = "Skilling"
|
||||
)
|
||||
default boolean getSwapSmithing()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "swapTanning",
|
||||
name = "Swap Tanning",
|
||||
description = "Enables swapping of 'Tan-1' and 'Tan-all' options.",
|
||||
position = 3,
|
||||
position = 2,
|
||||
group = "Skilling"
|
||||
)
|
||||
default boolean getSwapTanning()
|
||||
@@ -941,7 +929,7 @@ default CharterOption charterOption()
|
||||
keyName = "swapSawmill",
|
||||
name = "Swap Sawmill Operator",
|
||||
description = "Makes 'Buy-plank' the default option on the Sawmill Operator.",
|
||||
position = 4,
|
||||
position = 3,
|
||||
group = "Skilling"
|
||||
)
|
||||
default boolean getSwapSawmill()
|
||||
@@ -953,7 +941,7 @@ default CharterOption charterOption()
|
||||
keyName = "swapSawmillPlanks",
|
||||
name = "Swap Buy Planks",
|
||||
description = "Makes 'Buy All' the default option when buying planks.",
|
||||
position = 5,
|
||||
position = 4,
|
||||
group = "Skilling"
|
||||
)
|
||||
default boolean getSwapSawmillPlanks()
|
||||
@@ -965,7 +953,7 @@ default CharterOption charterOption()
|
||||
keyName = "swapPuroPuro",
|
||||
name = "Swap Puro-Puro Wheat",
|
||||
description = "",
|
||||
position = 6,
|
||||
position = 5,
|
||||
group = "Skilling"
|
||||
)
|
||||
default boolean getSwapPuro()
|
||||
|
||||
@@ -279,7 +279,6 @@ public class MenuEntrySwapperPlugin extends Plugin
|
||||
private String getSellFiftyItems;
|
||||
private boolean getEasyConstruction;
|
||||
private String getEasyConstructionItems;
|
||||
private boolean getSwapSmithing;
|
||||
private boolean getSwapTanning;
|
||||
private boolean getSwapSawmill;
|
||||
private boolean getSwapSawmillPlanks;
|
||||
@@ -958,18 +957,6 @@ public class MenuEntrySwapperPlugin extends Plugin
|
||||
}
|
||||
}
|
||||
|
||||
else if (this.getSwapSmithing && option.contains("smith"))
|
||||
{
|
||||
if (option.equalsIgnoreCase("Smith 1"))
|
||||
{
|
||||
swap(client, "Smith All", option, target);
|
||||
}
|
||||
else if (option.equalsIgnoreCase("Smith 1 Set"))
|
||||
{
|
||||
swap(client, "Smith All Sets", option, target);
|
||||
}
|
||||
}
|
||||
|
||||
else if (this.getSwapTanning && option.equalsIgnoreCase("Tan 1"))
|
||||
{
|
||||
swap(client, "Tan All", option, target);
|
||||
@@ -1866,7 +1853,6 @@ public class MenuEntrySwapperPlugin extends Plugin
|
||||
this.getSellFiftyItems = config.getSellFiftyItems();
|
||||
this.getEasyConstruction = config.getEasyConstruction();
|
||||
this.getEasyConstructionItems = config.getEasyConstructionItems();
|
||||
this.getSwapSmithing = config.getSwapSmithing();
|
||||
this.getSwapTanning = config.getSwapTanning();
|
||||
this.getSwapSawmill = config.getSwapSawmill();
|
||||
this.getSwapSawmillPlanks = config.getSwapSawmillPlanks();
|
||||
|
||||
Reference in New Issue
Block a user