Skip to content
This repository has been archived by the owner on Jan 31, 2021. It is now read-only.

Commit

Permalink
Fix deal being there when it shouldn't be
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyissillyyy committed Aug 16, 2018
1 parent 4a33cff commit 3e9ab8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion structures/Player.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = class Player {

async turn(channel, czar, black, deck, chosenCards) {
if (this.user.id === czar.user.id) return;
if (this.hand.size < 10) this.hand.add(deck.deal());
if (this.hand.size < 10) this.hand.add(deck.draw());
try {
if (this.hand.size < black.pick) {
await this.user.send('You don\'t have enough cards!');
Expand Down

0 comments on commit 3e9ab8b

Please sign in to comment.