[Databuckets] Move Databuckets to Common (#4918)

* [Databuckets] Move Databuckets to Common

* Fix linking issue
This commit is contained in:
Chris Miles
2025-06-16 16:48:29 -05:00
committed by GitHub
parent a0ff9d67a1
commit 1be7e56b86
23 changed files with 62 additions and 60 deletions
+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() {