mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-12-06 03:07:18 +00:00
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:
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();
|
||||
|
||||
Reference in new issue
Block a user