forked from External/mage
[LTR] Implement Dawn of a New Age (#10492)
This commit is contained in:
parent
1d5ee8b3f4
commit
3896c28572
3 changed files with 91 additions and 1 deletions
|
|
@ -93,6 +93,7 @@ public enum CounterType {
|
|||
HIT("hit"),
|
||||
HOOFPRINT("hoofprint"),
|
||||
HONE("hone"),
|
||||
HOPE("hope"),
|
||||
HOUR("hour", "an"),
|
||||
HOURGLASS("hourglass", "an"),
|
||||
HUNGER("hunger"),
|
||||
|
|
@ -225,7 +226,7 @@ public enum CounterType {
|
|||
}
|
||||
|
||||
CounterType(String name) {
|
||||
this(name, "aeiou".contains("" + name.charAt(0)) ? "an" : "a");
|
||||
this(name, "aeiou".contains( String.valueOf( name.charAt( 0 ) ) ) ? "an" : "a");
|
||||
}
|
||||
|
||||
CounterType(String name, String article) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue