quick fix : Duplicate branches in 'switch'

This commit is contained in:
Alexdoru committed 2023-01-25 23:36:51 +01:00
1 parent efd18b873e
commit 106f238698
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 "";
}