Add debug logging toggle for sync flow

This commit is contained in:
Kam committed 2025-10-19 22:06:11 -04:00
1 parent 111f16647d
commit b25f2b786e
24 files changed
+710 -124

No files matched your search

@@ -41,6 +41,8 @@ public class GuiMagicCycleMap extends GuiDiagram {
invalidateCache();
return;
}
// TODO: Consumes MagicController's full magic registry to resolve associations; visible only through magic editing GUIs
// that require the NPC wand and CustomNpcsPermissions.GLOBAL_MAGIC (or op status) to open.
MagicController mc = MagicController.getInstance();
// Get magics from the cycle's associations if associations are not null.
if (cycle.associations != null) {
@@ -67,6 +69,8 @@ public class GuiMagicCycleMap extends GuiDiagram {
* Constructor using a cycle ID.
*/
public GuiMagicCycleMap(GuiNPCInterface parent, int x, int y, int width, int height, int cycleId) {
// TODO: Looks up cycle data from MagicController; accessed from the same wand/CustomNpcsPermissions.GLOBAL_MAGIC gated
// management screens.
this(parent, x, y, width, height, MagicController.getInstance().getCycle(cycleId));
}