Browse Source

Removed squiggles

combat-2
MagicBot 8 months ago
parent
commit
0bbbcbaa81
  1. 13
      src/engine/mbEnums.java

13
src/engine/mbEnums.java

@ -14,7 +14,10 @@ import engine.gameManager.ZoneManager;
import engine.math.Vector2f; import engine.math.Vector2f;
import engine.math.Vector3f; import engine.math.Vector3f;
import engine.math.Vector3fImmutable; import engine.math.Vector3fImmutable;
import engine.objects.*; import engine.objects.AbstractCharacter;
import engine.objects.ItemTemplate;
import engine.objects.Shrine;
import engine.objects.Zone;
import engine.powers.EffectsBase; import engine.powers.EffectsBase;
import org.pmw.tinylog.Logger; import org.pmw.tinylog.Logger;
@ -2567,13 +2570,13 @@ public class mbEnums {
} }
public String getRankForGender(int rank, boolean male) { public String getRankForGender(int rank, boolean male) {
if (ranks.length < rank) {
if (ranks.length < rank)
return ""; return "";
}
if (ranks[rank].length != 1 && !male) { if (ranks[rank].length != 1 && !male)
return ranks[rank][1]; return ranks[rank][1];
}
return ranks[rank][0]; return ranks[rank][0];
} }

Loading…
Cancel
Save