mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 16:29:39 +00:00
Add debug logging toggle for sync flow
This commit is contained in:
1 parent
111f16647d
commit
b25f2b786e
24 files changed
+710
-124
No files matched your search
@@ -37,6 +37,8 @@ public class GuiQuestSelection extends SubGuiInterface implements ICustomScrollL
|
||||
setBackground("menubg.png");
|
||||
xSize = 366;
|
||||
ySize = 226;
|
||||
// TODO: Requires the full QuestController quest map (global dataset); access comes from wand-driven quest editors
|
||||
// that rely on PacketUtil.verifyItemPacket and ultimately CustomNpcsPermissions.GLOBAL_QUEST / server op checks.
|
||||
this.selectedQuest = QuestController.Instance.quests.get(quest);
|
||||
if (selectedQuest != null) {
|
||||
selectedCategory = selectedQuest.category;
|
||||
@@ -59,6 +61,8 @@ public class GuiQuestSelection extends SubGuiInterface implements ICustomScrollL
|
||||
HashMap<String, QuestCategory> categoryData = new HashMap<String, QuestCategory>();
|
||||
HashMap<String, Quest> questData = new HashMap<String, Quest>();
|
||||
|
||||
// TODO: Needs every quest category from QuestController so the selector can populate; opened from NPC wand flows that
|
||||
// demand the editing player satisfy CustomNpcsPermissions.GLOBAL_QUEST (or be OP when OpsOnly is enabled).
|
||||
for (QuestCategory category : QuestController.Instance.categories.values()) {
|
||||
categoryData.put(category.title, category);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user