Merge pull request #3309 from shmeeps/1379
Update menu swapper for birdhouses
This commit is contained in:
@@ -221,4 +221,15 @@ public interface MenuEntrySwapperConfig extends Config
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 17,
|
||||
keyName = "swapBirdhouseEmpty",
|
||||
name = "Birdhouse",
|
||||
description = "Swap Interact with Empty for birdhouses on Fossil Island"
|
||||
)
|
||||
default boolean swapBirdhouseEmpty()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -457,6 +457,10 @@ public class MenuEntrySwapperPlugin extends Plugin
|
||||
{
|
||||
swap("use", option, target, true);
|
||||
}
|
||||
else if (config.swapBirdhouseEmpty() && option.equals("interact") && target.contains("birdhouse"))
|
||||
{
|
||||
swap("empty", option, target, true);
|
||||
}
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
|
||||
Reference in New Issue
Block a user