From 2ddb5e709272739b1429bcca4844ef4d6d621d09 Mon Sep 17 00:00:00 2001 From: Alan19 Date: Sun, 27 Jan 2019 22:35:48 -0500 Subject: [PATCH] Fix plot point addition when gaining doom --- src/main/java/dicerolling/DiceRoller.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/dicerolling/DiceRoller.java b/src/main/java/dicerolling/DiceRoller.java index b5359dc..bede309 100644 --- a/src/main/java/dicerolling/DiceRoller.java +++ b/src/main/java/dicerolling/DiceRoller.java @@ -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);