mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 21:01:29 +00:00
[Bug Fix] Fix Bot::CheckDataBucket to work with Owner Buckets. (#3552)
This commit is contained in:
parent
108397b138
commit
00e02b61ca
@ -8170,6 +8170,7 @@ bool Bot::CheckDataBucket(std::string bucket_name, const std::string& bucket_val
|
||||
if (b.value.empty() && GetBotOwner()) {
|
||||
// fetch from owner
|
||||
k = GetBotOwner()->GetScopedBucketKeys();
|
||||
k.key = bucket_name;
|
||||
|
||||
b = DataBucket::GetData(k);
|
||||
if (b.value.empty()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user