mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-09-27 12:12:51 -04:00
NPCs now face player when starting conversations.
This commit is contained in:
@@ -57,6 +57,8 @@ public class ConversationService implements INetworkDispatch {
|
||||
if(player.getConversingNpc() != null && player.getConversingNpc() != npc)
|
||||
handleEndConversation(player, player.getConversingNpc());
|
||||
|
||||
core.simulationService.faceTarget(npc, player);
|
||||
|
||||
player.setConversingNpc(npc);
|
||||
sendStartConversation(player, npc);
|
||||
core.scriptService.callScript("scripts/conversation/", (String) npc.getAttachment("conversationFile"), "startConversation", core, player, npc);
|
||||
|
||||
Reference in New Issue
Block a user