quick fix : Duplicate branches in 'switch'

This commit is contained in:
Alexdoru authored and Jason Mitchell committed 2023-01-28 18:02:41 -08:00
1 parent f446ea280f
commit 114fce2770
12 files changed
+20 -58

No files matched your search

@@ -53,15 +53,12 @@ public class Shuriken extends AmmoWeapon {
public String getIconSuffix(int partType) {
switch (partType) {
case 0:
case 2:
case 3:
case 4:
return "_shuriken";
case 1:
return ""; // no broken, since it runs out of ammo
case 2:
return "_shuriken";
case 3:
return "_shuriken";
case 4:
return "_shuriken";
default:
return "";
}