mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 17:39:39 +00:00
Fix Data Loading Modification
This commit is contained in:
1 parent
66c4d64fb0
commit
993a8bd57c
1 file changed
-3
@@ -117,10 +117,7 @@ public class ProfileController implements IProfileHandler {
|
||||
}
|
||||
profile.player = player;
|
||||
activeProfiles.put(player.getUniqueID(), profile);
|
||||
loadSlotData(player);
|
||||
verifySlotQuests(profile.player);
|
||||
// Avoid saving on every login; only persist if the profile was
|
||||
// modified (e.g. default slot creation).
|
||||
if (profileModified)
|
||||
save(player, profile);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user