mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-21 04:32:39 +00:00
PlayerData:
-Renamed loadPlayerDataFromFile() to load(), and moved it next to the save() function for later addition to the API. -Moved saving/loading to EP functions where they used to be. -Removed now unused PlayerData.get() and loadPlayerDataOld() functions ServerEventsHandler: -Added new EntityConstructing event to add the PlayerData EP earlier. NoppesUtilPlayer: -questCompletion() now saves player data right before its return statement.
This commit is contained in:
1 parent
dc42beee15
commit
cbf99be297
5 files changed
+30
-84
No files matched your search
@@ -441,6 +441,8 @@ public class NoppesUtilPlayer {
|
||||
questData.trackQuest(nextQuest.quest);
|
||||
}
|
||||
|
||||
playerData.save();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user