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); swap("empty", option, target, true);
} }
else if (config.swapQuick()) else if (config.swapQuick() && option.equals("ring"))
{ {
switch (option) swap("quick-start", option, target, true);
{ }
case "ring": else if (config.swapQuick() && option.equals("pass"))
swap("quick-start", option, target, true); {
break; swap("quick-pass", option, target, true);
case "pass":
swap("quick-pass", option, target, true);
break;
}
} }
else if (config.shiftClickCustomization() && shiftModifier && !option.equals("use")) else if (config.shiftClickCustomization() && shiftModifier && !option.equals("use"))
{ {