menu entry swapper: split hardwood grove into 2 options
The option was the only one that could fit into more than one section
This commit is contained in:
@@ -221,14 +221,26 @@ public interface MenuEntrySwapperConfig extends Config
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "swapHardWoodGrove",
|
||||
name = "Hardwood Grove",
|
||||
description = "Swap Quick-Pay(100) and Send-Parcel at Hardwood Grove"
|
||||
name = "Hardwood Grove Quick-Pay",
|
||||
description = "Swap Quick-Pay(100) at the Hardwood Grove",
|
||||
section = objectSection
|
||||
)
|
||||
default boolean swapHardWoodGrove()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "swapHardWoodGroveParcel",
|
||||
name = "Hardwood Grove Send-Parcel",
|
||||
description = "Swap Send-Parcel at the Hardwood Grove",
|
||||
section = npcSection
|
||||
)
|
||||
default boolean swapHardWoodGroveParcel()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "swapHarpoon",
|
||||
name = "Harpoon",
|
||||
|
||||
@@ -442,7 +442,7 @@ public class MenuEntrySwapperPlugin extends Plugin
|
||||
swap("teleport", option, target, index);
|
||||
}
|
||||
|
||||
if (config.swapHardWoodGrove() && target.contains("rionasta"))
|
||||
if (config.swapHardWoodGroveParcel() && target.contains("rionasta"))
|
||||
{
|
||||
swap("send-parcel", option, target, index);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user