Skip to content

Commit

Permalink
Fix plot point addition when gaining doom
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan19 committed Jan 28, 2019
1 parent 7a06d09 commit 2ddb5e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/dicerolling/DiceRoller.java
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public EmbedBuilder addPlotPoints(MessageAuthor author) {
PPManager manager = new PPManager();
String userID = author.getIdAsString();
int oldPP = manager.getPlotPoints(userID);
int newPP = manager.setPlotPoints(userID, oldPP + doom);
int newPP = manager.setPlotPoints(userID, oldPP + 1);
return new EmbedBuilder()
.setAuthor(author)
.setDescription(oldPP + " → " + newPP);
Expand Down

0 comments on commit 2ddb5e7

Please sign in to comment.