Prevent initializing Npc variables with NpcAction.
This commit is contained in:
		| @@ -123,7 +123,7 @@ public class NpcAction implements IActionHandler | ||||
| 					} | ||||
| 					 | ||||
| 					// Open a chat window on client with the text of the Npc | ||||
| 					if (npc.getVariables().getBoolean("eventmob", false)) | ||||
| 					if (npc.hasVariables() && npc.getVariables().getBoolean("eventmob", false)) | ||||
| 					{ | ||||
| 						GameEvent.showEventHtml(player, String.valueOf(target.getObjectId())); | ||||
| 					} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 MobiusDevelopment
					MobiusDevelopment