1
0
mirror of https://github.com/Zrips/Jobs.git synced 2025-01-16 21:21:20 +01:00

We need to save player information if point count changed

This commit is contained in:
Zrips 2021-08-30 16:04:16 +03:00
parent ec00736fc3
commit 2127bd1be6

View File

@ -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);
}
/**