Skip to content

Commit

Permalink
TraitName annotation should be lowercased
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed Nov 10, 2022
1 parent a40fe36 commit a3a30cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/citizensnpcs/api/trait/TraitInfo.java
Expand Up @@ -40,7 +40,7 @@ public String getTraitName() {
if (name == null && !triedAnnotation) {
TraitName anno = trait.getAnnotation(TraitName.class);
if (anno != null) {
name = anno.value();
name = anno.value().toLowerCase();
}
triedAnnotation = true;
}
Expand Down

0 comments on commit a3a30cc

Please sign in to comment.