Skip to content

Commit

Permalink
fix: removed logs
Browse files Browse the repository at this point in the history
  • Loading branch information
valentine195 committed Jan 11, 2024
1 parent 005f7ec commit 21a6acc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,8 @@ export default class InitiativeTracker extends Plugin {
dice = dice.replace(`%mod${i + 1}%`, `${modifier[i]}`);
}
}
console.log("🚀 ~ file: main.ts:103 ~ dice:", dice);
const roller = this.getRoller(dice);
const initiative = roller.rollSync();
console.log("🚀 ~ file: main.ts:104 ~ initiative:", initiative);
if (isNaN(initiative)) return defaultIfNoResult;
return initiative;
}
Expand Down

0 comments on commit 21a6acc

Please sign in to comment.