Commit 9c682bd5 authored by nanahira's avatar nanahira

fix name replace

parent 01f016e3
...@@ -135,7 +135,7 @@ export default class DrawPlugin ...@@ -135,7 +135,7 @@ export default class DrawPlugin
) { ) {
if (this.yamlDecks.has(name)) { if (this.yamlDecks.has(name)) {
const deck = this.yamlDecks.get(name); const deck = this.yamlDecks.get(name);
const result = deck.draw(param); const result = deck.draw(param, user);
return result ?? renderer('.notFound'); return result ?? renderer('.notFound');
} }
const result = this.drawer.drawFromDeck(name); const result = this.drawer.drawFromDeck(name);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment