Updated to 8.2.0.31429 (scripts disabled atm, they still need updated)
Code Port from TrinityCore https://github.com/TrinityCore/TrinityCore Casc from WoW-Tools https://github.com/WoW-Tools/CASCExplorer
This commit is contained in:
@@ -35,7 +35,7 @@ namespace Game
|
||||
[WorldPacketHandler(ClientOpcodes.GarrisonPurchaseBuilding)]
|
||||
void HandleGarrisonPurchaseBuilding(GarrisonPurchaseBuilding garrisonPurchaseBuilding)
|
||||
{
|
||||
if (!_player.GetNPCIfCanInteractWith(garrisonPurchaseBuilding.NpcGUID, NPCFlags.GarrisonArchitect))
|
||||
if (!_player.GetNPCIfCanInteractWith(garrisonPurchaseBuilding.NpcGUID, NPCFlags.None, NPCFlags2.GarrisonArchitect))
|
||||
return;
|
||||
|
||||
Garrison garrison = _player.GetGarrison();
|
||||
@@ -46,7 +46,7 @@ namespace Game
|
||||
[WorldPacketHandler(ClientOpcodes.GarrisonCancelConstruction)]
|
||||
void HandleGarrisonCancelConstruction(GarrisonCancelConstruction garrisonCancelConstruction)
|
||||
{
|
||||
if (!_player.GetNPCIfCanInteractWith(garrisonCancelConstruction.NpcGUID, NPCFlags.GarrisonArchitect))
|
||||
if (!_player.GetNPCIfCanInteractWith(garrisonCancelConstruction.NpcGUID, NPCFlags.None, NPCFlags2.GarrisonArchitect))
|
||||
return;
|
||||
|
||||
Garrison garrison = _player.GetGarrison();
|
||||
|
||||
Reference in New Issue
Block a user