From a53231e5edf5740a1472eeb23270ca962d09bb42 Mon Sep 17 00:00:00 2001 From: Christoph Diehl <1614333+posidron@users.noreply.github.com> Date: Mon, 9 Apr 2018 19:38:54 +0200 Subject: [PATCH] Fix make.command.value --- lib/make/command.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/make/command.js b/lib/make/command.js index d6827be..0009e5a 100644 --- a/lib/make/command.js +++ b/lib/make/command.js @@ -61,7 +61,7 @@ class command extends make { return random.item(Object.keys(command.data())) } - static value (value) { + static value (name) { return random.pick(command.data()[name]) } }