[Quest API] Reload content flags globally when a content flag is set (#3564)

This commit is contained in:
Chris Miles
2023-08-20 20:56:40 -05:00
committed by GitHub
parent c47644ea46
commit 7122ac33b2
4 changed files with 14 additions and 0 deletions
+10
View File
@@ -3136,3 +3136,13 @@ bool Zone::CompareDataBucket(uint8 bucket_comparison, const std::string& bucket_
return passes;
}
void Zone::ReloadContentFlags()
{
auto pack = new ServerPacket(ServerOP_ReloadContentFlags, 0);
if (pack) {
worldserver.SendPacket(pack);
}
safe_delete(pack);
}