mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-09-11 21:45:26 -04:00
Fixed behavior where client never dequeued successful commands, because the server only did that in case the command failed
This commit is contained in:
+2
-4
@@ -147,13 +147,11 @@ public class CommandQueueService extends Service {
|
||||
startCooldownGroup(command.getSource(), rootCommand, rootCommand.getCooldownGroup2(), rootCommand.getCooldownTime2(), command.getCounter());
|
||||
}
|
||||
startCooldownGroup(command.getSource(), rootCommand, rootCommand.getCooldownGroup(), rootCommand.getCooldownTime(), command.getCounter());
|
||||
} else {
|
||||
sendQueueRemove(command, error);
|
||||
}
|
||||
ExecuteCommandIntent.broadcast(command.getSource(), command.getTarget(), command.getArguments(), command.getCommand());
|
||||
} else {
|
||||
sendQueueRemove(command, error);
|
||||
}
|
||||
|
||||
sendQueueRemove(command, error);
|
||||
}
|
||||
|
||||
private void sendQueueRemove(EnqueuedCommand command, ErrorCode error) {
|
||||
|
||||
Reference in New Issue
Block a user