From 0bbbcbaa81f5438575e0ace55a4cf697de87c0a7 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 28 Apr 2024 13:44:35 -0400 Subject: [PATCH] Removed squiggles --- src/engine/mbEnums.java | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/engine/mbEnums.java b/src/engine/mbEnums.java index 7b211298..c7426cb5 100644 --- a/src/engine/mbEnums.java +++ b/src/engine/mbEnums.java @@ -14,7 +14,10 @@ import engine.gameManager.ZoneManager; import engine.math.Vector2f; import engine.math.Vector3f; 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 org.pmw.tinylog.Logger; @@ -2567,13 +2570,13 @@ public class mbEnums { } public String getRankForGender(int rank, boolean male) { - if (ranks.length < rank) { + + if (ranks.length < rank) return ""; - } - if (ranks[rank].length != 1 && !male) { + if (ranks[rank].length != 1 && !male) return ranks[rank][1]; - } + return ranks[rank][0]; }