Remove switch case for swapQuick that would cause rest of swaps to be skipped (#6007)
This commit is contained in:
@@ -469,17 +469,13 @@ public class MenuEntrySwapperPlugin extends Plugin
|
||||
{
|
||||
swap("empty", option, target, true);
|
||||
}
|
||||
else if (config.swapQuick())
|
||||
else if (config.swapQuick() && option.equals("ring"))
|
||||
{
|
||||
switch (option)
|
||||
{
|
||||
case "ring":
|
||||
swap("quick-start", option, target, true);
|
||||
break;
|
||||
case "pass":
|
||||
swap("quick-pass", option, target, true);
|
||||
break;
|
||||
}
|
||||
swap("quick-start", option, target, true);
|
||||
}
|
||||
else if (config.swapQuick() && option.equals("pass"))
|
||||
{
|
||||
swap("quick-pass", option, target, true);
|
||||
}
|
||||
else if (config.shiftClickCustomization() && shiftModifier && !option.equals("use"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user