mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-01-15 23:05:45 -05:00
Added flags to CommandTimer
This commit is contained in:
Submodule pswgcommon updated: d8a230edd0...abffe06102
@@ -170,6 +170,7 @@ public class CommandQueueService extends Service {
|
||||
commandTimer.setCooldownMax((float) cooldownTime);
|
||||
commandTimer.setCommandNameCrc(command.getCrc());
|
||||
commandTimer.setSequenceId(counter);
|
||||
commandTimer.addFlag(CommandTimer.CommandTimerFlag.COOLDOWN);
|
||||
creature.sendSelf(commandTimer);
|
||||
|
||||
executor.execute((long) (cooldownTime * 1000), () -> activeCooldownGroups.remove(group));
|
||||
|
||||
Reference in New Issue
Block a user