Fix make.command.value

This commit is contained in:
Christoph Diehl 2018-04-09 19:38:54 +02:00
parent 49915cb7a2
commit a53231e5ed
No known key found for this signature in database
GPG key ID: 799CE5B68FEF404A

View file

@ -61,7 +61,7 @@ class command extends make {
return random.item(Object.keys(command.data())) return random.item(Object.keys(command.data()))
} }
static value (value) { static value (name) {
return random.pick(command.data()[name]) return random.pick(command.data()[name])
} }
} }