Remove switch case for swapQuick that would cause rest of swaps to be skipped (#6007)

This commit is contained in:
forsco
2018-10-14 20:14:20 +11:00
committed by Tomas Slusny
parent 656ae729d5
commit a7414f1166

View File

@@ -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"))
{