From 2127bd1be62b790b67574f74547bde0ce5222dd1 Mon Sep 17 00:00:00 2001 From: Zrips Date: Mon, 30 Aug 2021 16:04:16 +0300 Subject: [PATCH] We need to save player information if point count changed --- src/main/java/com/gamingmesh/jobs/container/JobsPlayer.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/gamingmesh/jobs/container/JobsPlayer.java b/src/main/java/com/gamingmesh/jobs/container/JobsPlayer.java index 3f983f9a..2c916ec6 100644 --- a/src/main/java/com/gamingmesh/jobs/container/JobsPlayer.java +++ b/src/main/java/com/gamingmesh/jobs/container/JobsPlayer.java @@ -110,6 +110,7 @@ public class JobsPlayer { */ public void addPoints(double points) { pointsData.addPoints(points); + this.setSaved(false); } /** @@ -119,6 +120,7 @@ public class JobsPlayer { */ public void takePoints(double points) { pointsData.takePoints(points); + this.setSaved(false); } /** @@ -128,6 +130,7 @@ public class JobsPlayer { */ public void setPoints(double points) { pointsData.setPoints(points); + this.setSaved(false); } /**