mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-28 19:54:44 +02:00
Cleaning up from our deprecated permissions.
Also cleaned up the unholy mess that was SkillResetCommand.
This commit is contained in:
@ -301,7 +301,7 @@ public class SkillTools {
|
||||
*/
|
||||
public static SkillType getSkillType(String skillName) {
|
||||
for (SkillType x : SkillType.values()) {
|
||||
if (x.toString().equals(skillName.toUpperCase())) {
|
||||
if (x.toString().equalsIgnoreCase(skillName)) {
|
||||
return x;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user