mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 18:51:29 +00:00
[Crash] Fix #summon crash (#3608)
* [Crash] Summon crash fix * [Crash] Fix summon crash
This commit is contained in:
parent
68cb94b39c
commit
b5b0e53da2
@ -64,6 +64,11 @@ void command_summon(Client *c, const Seperator *sep)
|
||||
return;
|
||||
}
|
||||
|
||||
if (!target) {
|
||||
c->Message(Chat::White, "You must have a target to summon.");
|
||||
return;
|
||||
}
|
||||
|
||||
c->Message(
|
||||
Chat::White,
|
||||
fmt::format(
|
||||
|
||||
@ -5114,7 +5114,7 @@ std::string Mob::GetTargetDescription(Mob* target, uint8 description_type, uint1
|
||||
auto d = fmt::format(
|
||||
"{}",
|
||||
(
|
||||
this == target ?
|
||||
target && this == target ?
|
||||
self_return :
|
||||
fmt::format(
|
||||
"{} ({})",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user