mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-09 20:24:16 +00:00
Welp, ended up doing client as well since world and client are in the wroing places.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
#include "Character.h"
|
||||
#include "CharacterComponent.h"
|
||||
#include "ChatPackets.h"
|
||||
#include "WorldPackets.h"
|
||||
#include "ClientPackets.h"
|
||||
#include "EntityManager.h"
|
||||
#include "Game.h"
|
||||
#include "ZoneInstanceManager.h"
|
||||
@@ -55,7 +55,11 @@ void PropertyTeleportBehavior::Handle(BehaviorContext* context, RakNet::BitStrea
|
||||
|
||||
entity->GetCharacter()->SaveXMLToDatabase();
|
||||
|
||||
WorldPackets::SendTransferToWorld(sysAddr, serverIP, serverPort, mythranShift);
|
||||
ClientPackets::TransferToWorld response;
|
||||
response.serverIP = serverIP;
|
||||
response.serverPort = serverPort;
|
||||
response.mythranShift = mythranShift;
|
||||
response.Send(sysAddr);
|
||||
return;
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user