menu swapper: check home portal swap target
The swap was attemting to run on anything with the "enter" option, which conflicted with the quick-enter swap below it. Co-authored-by: Adam <Adam@sigterm.info>
This commit is contained in:
@@ -498,7 +498,7 @@ public class MenuEntrySwapperPlugin extends Plugin
|
||||
{
|
||||
swap("harpoon", option, target, index);
|
||||
}
|
||||
else if (config.swapHomePortal() != HouseMode.ENTER && option.equals("enter"))
|
||||
else if (config.swapHomePortal() != HouseMode.ENTER && option.equals("enter") && target.equals("portal"))
|
||||
{
|
||||
switch (config.swapHomePortal())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user