mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-06-14 10:44:21 +00:00
Migrate more members
This commit is contained in:
@@ -1268,10 +1268,10 @@ namespace DEVGMCommands {
|
||||
auto* inventoryComponent = entity->GetComponent<InventoryComponent>();
|
||||
if (!inventoryComponent) return;
|
||||
|
||||
std::vector<LDFBaseData*> data{};
|
||||
data.push_back(new LDFData<int32_t>(u"reforgedLOT", reforgedItem.value()));
|
||||
LwoNameValue config;
|
||||
config.Insert<LOT>(u"reforgedLOT", reforgedItem.value());
|
||||
|
||||
inventoryComponent->AddItem(baseItem.value(), 1, eLootSourceType::MODERATION, eInventoryType::INVALID, data);
|
||||
inventoryComponent->AddItem(baseItem.value(), 1, eLootSourceType::MODERATION, eInventoryType::INVALID, config);
|
||||
}
|
||||
|
||||
void Crash(Entity* entity, const SystemAddress& sysAddr, const std::string args) {
|
||||
|
||||
Reference in New Issue
Block a user