[Feature] Add rule to allow /changepetname to function without being enabled by scripts.

This commit is contained in:
catapultam-habeo
2025-02-05 14:20:24 -06:00
committed by GitHub
parent 8f4f8368df
commit 51f25ed779
3 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -821,7 +821,7 @@ void Client::CompleteConnect()
)
);
if (IsPetNameChangeAllowed()) {
if (IsPetNameChangeAllowed() && !RuleB(Pets, AlwaysAllowPetRename)) {
InvokeChangePetName(false);
}
}