Skip to content

Conversation

@davight
Copy link
Contributor

@davight davight commented Feb 8, 2026

Changes:

I could probably also add prefixed arg to provide list of npcs rather than only the linked one

}
pause(npc, pauseType, !scriptEntry.getCommandName().equalsIgnoreCase("RESUME"));
NPCData data = new NPCData(Utilities.getEntryNPC(scriptEntry), type);
boolean pause = scriptEntry.getCommandName().equalsIgnoreCase("PAUSE");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this handling does not make sense with the rewritten format

final ScriptEntry se = scriptEntry;
durations.put(npc.getId() + pauseType.name(), Denizen.getInstance()
final NPCData copyData = data;
final ScriptEntry copyScriptEntry = scriptEntry;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these values are not copies. And in fact given the rewrite to format I believe no longer need to exist at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants