Skip to content

Commit

Permalink
fix(dice): missing final line
Browse files Browse the repository at this point in the history
  • Loading branch information
dragon-fish committed Dec 7, 2023
1 parent 33c7594 commit b8877c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/dice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ export default class PluginDice extends BasePlugin {
})

if (difficulty) {
lines.push(`结果 = ${total} - ${difficulty} = ${total - difficulty}`)
} else {
lines.push(`结果 = ${total}`)
}
Expand Down

0 comments on commit b8877c7

Please sign in to comment.