Simplify error logging

This commit is contained in:
Akkadius
2019-09-01 22:05:44 -05:00
parent 98cbb7d781
commit 678c25e02c
44 changed files with 532 additions and 486 deletions
+1 -1
View File
@@ -836,7 +836,7 @@ bool Corpse::Process() {
Log(Logs::General, Logs::None, "Tagged %s player corpse has buried.", this->GetName());
}
else {
Log(Logs::General, Logs::Error, "Unable to bury %s player corpse.", this->GetName());
LogError("Unable to bury [{}] player corpse", this->GetName());
return true;
}
}