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:
parent
ec00736fc3
commit
2127bd1be6
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user