Core/PacketIO: Fixed some 11.0.2 structures

Port From (https://github.com/TrinityCore/TrinityCore/commit/1f952893fc82bc677058737f77de710c426c60ee)
This commit is contained in:
Hondacrx
2024-09-08 15:12:15 -04:00
parent 6bdb8a6c70
commit fcdd67374b
3 changed files with 15 additions and 7 deletions
+2 -2
View File
@@ -122,7 +122,7 @@ namespace Game
if (GetPlayer().m_taxi.SetTaximaskNode(curloc))
{
SendPacket(new NewTaxiPath());
SendPacket(new NewTaxiPath(curloc));
TaxiNodeStatusPkt data = new();
data.Unit = unit.GetGUID();
@@ -139,7 +139,7 @@ namespace Game
public void SendDiscoverNewTaxiNode(uint nodeid)
{
if (GetPlayer().m_taxi.SetTaximaskNode(nodeid))
SendPacket(new NewTaxiPath());
SendPacket(new NewTaxiPath(nodeid));
}
[WorldPacketHandler(ClientOpcodes.ActivateTaxi, Processing = PacketProcessing.ThreadSafe)]