[Databuckets] Move Databuckets to Common (#4918)

* [Databuckets] Move Databuckets to Common

* Fix linking issue
This commit is contained in:
Chris Miles authored and GitHub committed 2025-06-16 16:48:29 -05:00
1 parent a0ff9d67a1
commit 1be7e56b86
23 files changed
+62 -60

No files matched your search

+2 -2
View File
@@ -107,12 +107,12 @@ void Lua_Bot::SetExpansionBitmask(int expansion_bitmask) {
bool Lua_Bot::ReloadBotDataBuckets() {
Lua_Safe_Call_Bool();
return DataBucket::GetDataBuckets(self);
return self->LoadDataBucketsCache();;
}
bool Lua_Bot::ReloadBotOwnerDataBuckets() {
Lua_Safe_Call_Bool();
return self->HasOwner() && DataBucket::GetDataBuckets(self->GetBotOwner());
return self->HasOwner() && self->LoadDataBucketsCache();
}
bool Lua_Bot::ReloadBotSpells() {