1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-12-30 21:07:48 +01:00

Save a player after adjusting job experience

This commit is contained in:
FireML 2024-03-21 11:57:01 +00:00
parent c96b24bb10
commit e0f8125e97

View File

@ -117,6 +117,9 @@ public class exp implements Cmd {
break;
}
jPlayer.setSaved(false);
jPlayer.save(true);
Player player = jPlayer.getPlayer();
if (player == null) {
Language.sendMessage(sender, "general.give.output.notonline");