From 88b5be2f25658deaf5ea9b2037f9f5c768ad8982 Mon Sep 17 00:00:00 2001 From: Kam Date: Thu, 28 Aug 2025 22:01:24 -0400 Subject: [PATCH] Update ProfileController.java --- .../java/kamkeel/npcs/controllers/ProfileController.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/java/kamkeel/npcs/controllers/ProfileController.java b/src/main/java/kamkeel/npcs/controllers/ProfileController.java index 5968f06d3..3e874ab1c 100644 --- a/src/main/java/kamkeel/npcs/controllers/ProfileController.java +++ b/src/main/java/kamkeel/npcs/controllers/ProfileController.java @@ -122,7 +122,6 @@ public class ProfileController implements IProfileHandler { if (player == null) return; Profile profile; - boolean profileModified = false; if (activeProfiles.containsKey(player.getUniqueID())) { profile = activeProfiles.get(player.getUniqueID()); profile.player = player; @@ -135,16 +134,14 @@ public class ProfileController implements IProfileHandler { profile.getSlots().put(0, defaultSlot); profile.currentSlotId = 0; saveSlotData(player); - profileModified = true; } if (!profile.getSlots().containsKey(profile.currentSlotId)) { profile.currentSlotId = 0; } profile.player = player; activeProfiles.put(player.getUniqueID(), profile); + loadSlotData(player); verifySlotQuests(profile.player); - if (profileModified) - save(player, profile); } }