Merge pull request #12575 from cubemike99/add_clean_swap

menu entry swapper: add clean swap
This commit is contained in:
Adam
2020-10-01 10:37:41 -04:00
committed by GitHub
2 changed files with 13 additions and 0 deletions

View File

@@ -133,6 +133,17 @@ public interface MenuEntrySwapperConfig extends Config
return false;
}
@ConfigItem(
keyName = "swapHerbs",
name = "Clean",
description = "Swap Clean with Use on Herbs",
section = itemSection
)
default boolean swapHerbs()
{
return false;
}
@ConfigItem(
keyName = "swapContract",
name = "Contract",

View File

@@ -325,6 +325,8 @@ public class MenuEntrySwapperPlugin extends Plugin
swap("bury", "use", config::swapBones);
swap("clean", "use", config::swapHerbs);
swap("collect-note", "collect-item", () -> config.swapGEItemCollect() == GEItemCollectMode.ITEMS);
swap("collect-notes", "collect-items", () -> config.swapGEItemCollect() == GEItemCollectMode.ITEMS);