This commit is contained in:
Dragon Fire
2020-05-10 21:08:57 -04:00
parent 6687c91442
commit 2d54ccba7e
+1 -1
View File
@@ -114,7 +114,7 @@ module.exports = class BlackjackCommand extends Command {
}
draw(channel, hand) {
const { deck } = this.client.games.get(channel.id).data;
const deck = this.client.games.get(channel.id).data;
const card = deck.draw();
hand.push(card);
return card;