From 54b4faeeff085aa06cc0d1e58efb2bfbcbb3dd4e Mon Sep 17 00:00:00 2001 From: GJ Date: Mon, 21 May 2012 08:39:19 -0400 Subject: [PATCH] Minor cleanup. --- src/main/java/com/gmail/nossr50/util/Skills.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/util/Skills.java b/src/main/java/com/gmail/nossr50/util/Skills.java index 29b3ee3cf..a990ca48a 100644 --- a/src/main/java/com/gmail/nossr50/util/Skills.java +++ b/src/main/java/com/gmail/nossr50/util/Skills.java @@ -268,9 +268,11 @@ public class Skills { */ public static SkillType getSkillType(String skillName) { for (SkillType x : SkillType.values()) { - if (x.toString().equals(skillName.toUpperCase())) + if (x.toString().equals(skillName.toUpperCase())) { return x; + } } + return null; }