menu entry swapper: Add battlestaff use swap (#13140)

This commit is contained in:
David
2021-02-09 19:25:23 +01:00
committed by GitHub
parent 2a953b497b
commit 0163f79248
2 changed files with 13 additions and 0 deletions

View File

@@ -144,6 +144,17 @@ public interface MenuEntrySwapperConfig extends Config
return false;
}
@ConfigItem(
keyName = "swapBattlestaves",
name = "Battlestaff",
description = "Swap Wield with Use on Battlestaves without orbs",
section = itemSection
)
default boolean swapBattlestaves()
{
return false;
}
@ConfigItem(
keyName = "swapPrayerBook",
name = "Recite-Prayer",

View File

@@ -334,6 +334,8 @@ public class MenuEntrySwapperPlugin extends Plugin
swap("bury", "use", config::swapBones);
swap("wield", "battlestaff", "use", config::swapBattlestaves);
swap("clean", "use", config::swapHerbs);
swap("read", "recite-prayer", config::swapPrayerBook);