mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Minor cleanup.
This commit is contained in:
parent
a7f69545f2
commit
54b4faeeff
@ -268,9 +268,11 @@ public class Skills {
|
|||||||
*/
|
*/
|
||||||
public static SkillType getSkillType(String skillName) {
|
public static SkillType getSkillType(String skillName) {
|
||||||
for (SkillType x : SkillType.values()) {
|
for (SkillType x : SkillType.values()) {
|
||||||
if (x.toString().equals(skillName.toUpperCase()))
|
if (x.toString().equals(skillName.toUpperCase())) {
|
||||||
return x;
|
return x;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user