Closed Elgrimm closed 3 years ago
I switched to shadowlands
I switched to shadowlands
Don't know how to fix an Architectural table in the Garrison? It is not clickable.
Change flags to corect flag id
8589934592
8589934592 This flag is not present in the source code
And when I put it down, the table disappears
8589934592
Do you know what else might be the problem?
void WorldSession::HandleGarrisonPurchaseBuilding(WorldPackets::Garrison::GarrisonPurchaseBuilding& packet) { if (!_player->GetNPCIfCanInteractWith(packet.NpcGUID, UNIT_NPC_FLAG_NONE, UNIT_NPC_FLAG2_GARRISON_ARCHITECT)) return;
if (Garrison* garrison = _player->GetGarrison())
garrison->PlaceBuilding(packet.PlotInstanceID, packet.BuildingID);
}
Where UNIT_NPC_FLAG2_GARRISON_ARCHITECT = 2
I did it!
The project was closed?