Merge pull request #12986 from Broooklyn/rock-cake
menu entry swapper: add dwarven rock cake swap
This commit is contained in:
@@ -606,4 +606,15 @@ public interface MenuEntrySwapperConfig extends Config
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "swapRockCake",
|
||||
name = "Dwarven rock cake",
|
||||
description = "Swap Eat with Guzzle on the Dwarven rock cake",
|
||||
section = itemSection
|
||||
)
|
||||
default boolean swapRockCake()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -355,6 +355,8 @@ public class MenuEntrySwapperPlugin extends Plugin
|
||||
swapTeleport("camelot teleport", "seers'");
|
||||
swapTeleport("watchtower teleport", "yanille");
|
||||
swapTeleport("teleport to house", "outside");
|
||||
|
||||
swap("eat", "guzzle", config::swapRockCake);
|
||||
}
|
||||
|
||||
private void swap(String option, String swappedOption, Supplier<Boolean> enabled)
|
||||
|
||||
Reference in New Issue
Block a user