mirror of
https://github.com/magefree/mage.git
synced 2025-12-30 15:32:08 -08:00
text gen: random mode choice
This commit is contained in:
parent
dc7d1450f2
commit
ccb888b17c
1 changed files with 3 additions and 0 deletions
|
|
@ -503,6 +503,9 @@ public class Modes extends LinkedHashMap<UUID, Mode> {
|
|||
throw new UnsupportedOperationException(String.format("no text available for this selection of min and max modes (%d and %d)",
|
||||
this.getMinModes(), this.getMaxModes(null, null)));
|
||||
}
|
||||
if (isRandom) {
|
||||
sb.append(" at random");
|
||||
}
|
||||
} else {
|
||||
sb.append(chooseText);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue