diff --git a/src/main/java/kamkeel/npcs/controllers/ProfileController.java b/src/main/java/kamkeel/npcs/controllers/ProfileController.java index 3e874ab1c..ceb138285 100644 --- a/src/main/java/kamkeel/npcs/controllers/ProfileController.java +++ b/src/main/java/kamkeel/npcs/controllers/ProfileController.java @@ -138,9 +138,16 @@ public class ProfileController implements IProfileHandler { if (!profile.getSlots().containsKey(profile.currentSlotId)) { profile.currentSlotId = 0; } + profile.player = player; activeProfiles.put(player.getUniqueID(), profile); - loadSlotData(player); + + PlayerData pdata = PlayerData.get(player); + if (profile.getSlots().containsKey(pdata.profileSlot)) { + profile.currentSlotId = pdata.profileSlot; + } + + saveSlotData(player); verifySlotQuests(profile.player); } }