Skip to content

Commit

Permalink
fix: Show Dice Roller version on load
Browse files Browse the repository at this point in the history
  • Loading branch information
valentine195 committed Oct 23, 2024
1 parent 35102eb commit b1438ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ export default class DiceRollerPlugin extends Plugin {
};
}
async onload() {
console.log("DiceRoller plugin loaded");
await this.loadSettings();
console.log(`DiceRoller v${this.data.version} loaded`);

DiceRenderer.setData(this.getRendererData());

this.api.initialize(this.data, this.app);

window["DiceRoller"] = this.api;
Expand Down

0 comments on commit b1438ef

Please sign in to comment.