Stop movement when trying to talk to a moving NPC.
This commit is contained in:
		| @@ -112,6 +112,13 @@ public class NpcAction implements IActionHandler | ||||
| 					{ | ||||
| 						npc.onRandomAnimation(Rnd.get(8)); | ||||
| 					} | ||||
| 					 | ||||
| 					// Stop movement when trying to talk to a moving NPC. | ||||
| 					if (npc.isMoving()) | ||||
| 					{ | ||||
| 						player.stopMove(null); | ||||
| 					} | ||||
| 					 | ||||
| 					// Open a chat window on client with the text of the Npc | ||||
| 					if (npc.isEventMob()) | ||||
| 					{ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 MobiusDevelopment
					MobiusDevelopment