mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-23 21:17:16 +00:00
Improve GM command interface UI
This commit is contained in:
1 parent
053bdb8646
commit
5fba138a5a
4 files changed
+140
-52
No files matched your search
@@ -1392,16 +1392,20 @@ bool TaskManager::LoadClientState(Client *client, ClientTaskState *client_task_s
|
||||
auto type = static_cast<TaskType>(character_task.type);
|
||||
|
||||
if ((task_id < 0) || (task_id >= MAXTASKS)) {
|
||||
LogTasks("[LoadClientState] Error: task_id [{}] out of range while loading character tasks from database",
|
||||
task_id);
|
||||
LogTasks(
|
||||
"[LoadClientState] Error: task_id [{}] out of range while loading character tasks from database",
|
||||
task_id
|
||||
);
|
||||
continue;
|
||||
}
|
||||
|
||||
// client data bucket pointer
|
||||
auto task_info = client_task_state->GetClientTaskInfo(type, slot);
|
||||
|
||||
if (task_info == nullptr) {
|
||||
LogTasks("[LoadClientState] Error: slot [{}] out of range while loading character tasks from database",
|
||||
slot);
|
||||
LogTasks(
|
||||
"[LoadClientState] Error: slot [{}] out of range while loading character tasks from database",
|
||||
slot
|
||||
);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user