mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-22 03:52:18 +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
@@ -124,6 +124,8 @@ public class GuiNPCManageEffects extends GuiNPCInterface2 implements ICustomScro
|
||||
effect.readFromNBT(compound);
|
||||
setSelected(effect.name);
|
||||
if (effect.id != -1) {
|
||||
// TODO: Writes back into the CustomEffectController cache (global effect dataset); only players with the wand and
|
||||
// CustomNpcsPermissions.GLOBAL_EFFECT reach this admin editor.
|
||||
CustomEffectController.getInstance().getCustomEffects().replace(effect.id, effect);
|
||||
}
|
||||
initGui();
|
||||
|
||||
Reference in new issue
Block a user