mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-25 20:16:13 +01:00
Fix for data save for player who is offline
This commit is contained in:
parent
ffd4309de7
commit
6d20ca3d33
@ -979,6 +979,8 @@ public class JobsPlayer {
|
||||
}
|
||||
|
||||
public void setSaved(boolean isSaved) {
|
||||
if (!isSaved && !isOnline())
|
||||
Jobs.getPlayerManager().addPlayer(this);
|
||||
this.isSaved = isSaved;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user