Fix client spell commands from saving the wrong setting

This commit is contained in:
nytmyr
2024-12-23 23:44:48 -06:00
parent 25ff56ca23
commit 9b5eca3b2d
3 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -158,18 +158,18 @@ void command_spell_min_thresholds(Client* c, const Seperator* sep)
c->Message(
Chat::Green,
fmt::format(
"Your [{}] minimum hold is currently [{}]%%.'",
"Your [{}] minimum hold is currently [{}%%].'",
c->GetSpellTypeNameByID(spellType),
c->GetSpellMinThreshold(spellType)
).c_str()
);
}
else {
c->SetSpellHold(spellType, typeValue);
c->SetSpellMinThreshold(spellType, typeValue);
c->Message(
Chat::Green,
fmt::format(
"Your [{}] minimum hold was set to [{}]%%.'",
"Your [{}] minimum hold was set to [{}%%].'",
c->GetSpellTypeNameByID(spellType),
c->GetSpellMinThreshold(spellType)
).c_str()