Rewrite Al-Kharid gate interactions and border guard dialogues closes (#661)

- Updated NpcFirstClickEvent to include npcIndex for better handling of NPC interactions.
- Enhanced Npc and NpcHandler classes to support new interaction logic and ensure NPCs face players correctly.
- Refined packet handling for NPC clicks and button actions to integrate new dialogue and interaction flows.
This commit is contained in:
Dark98 committed 2026-11-10 02:52:33 +00:00
1 parent 099f2b6826
commit 9570a35bae
20 files changed
+499 -195

No files matched your search

@@ -542,6 +542,7 @@ public class PacketSender {
public PacketSender closeAllWindows() {
player.lastMainFrameInterface = -1;
player.getDialogueHandler().endDialogue();
if (player.getOutStream() != null && player != null) {
player.getOutStream().createFrame(219);
player.flushOutStream();