if (!talkEvent.getText().isEmpty()) {
Messaging.send(target, npc, talkEvent.getText());
}
}
}
NPCRightClickEvent rightClickEvent = new NPCRightClickEvent(npc, player);
Bukkit.getServer().getPluginManager().callEvent(rightClickEvent);
if (!rightClickEvent.isCancelled()) {
NPCDataManager.handleEquipmentEditor(rightClickEvent);
NPCDataManager.handlePathRestart(rightClickEvent);
if (npc.getWaypoints().isStarted() && npc.getWaypoints().current() != null) {
npc.getWaypoints().scheduleDelay(npc, npc.getWaypoints().current().getLocation(),
Settings.getInt("RightClickPause"));