menu entry swapper: Add battlestaff use swap (#13140)
This commit is contained in:
@@ -144,6 +144,17 @@ public interface MenuEntrySwapperConfig extends Config
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ConfigItem(
|
||||||
|
keyName = "swapBattlestaves",
|
||||||
|
name = "Battlestaff",
|
||||||
|
description = "Swap Wield with Use on Battlestaves without orbs",
|
||||||
|
section = itemSection
|
||||||
|
)
|
||||||
|
default boolean swapBattlestaves()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
keyName = "swapPrayerBook",
|
keyName = "swapPrayerBook",
|
||||||
name = "Recite-Prayer",
|
name = "Recite-Prayer",
|
||||||
|
|||||||
@@ -334,6 +334,8 @@ public class MenuEntrySwapperPlugin extends Plugin
|
|||||||
|
|
||||||
swap("bury", "use", config::swapBones);
|
swap("bury", "use", config::swapBones);
|
||||||
|
|
||||||
|
swap("wield", "battlestaff", "use", config::swapBattlestaves);
|
||||||
|
|
||||||
swap("clean", "use", config::swapHerbs);
|
swap("clean", "use", config::swapHerbs);
|
||||||
|
|
||||||
swap("read", "recite-prayer", config::swapPrayerBook);
|
swap("read", "recite-prayer", config::swapPrayerBook);
|
||||||
|
|||||||
Reference in New Issue
Block a user