@Override
public void speak(SpeechContext context, String vocalChordName) {
context.setTalker(entity);
if (isNPC) {
NPCSpeechEvent event = new NPCSpeechEvent(context, vocalChordName);
Bukkit.getServer().getPluginManager().callEvent(event);
if (event.isCancelled())
return;
vocalChordName = event.getVocalChordName();
}
CitizensAPI.getSpeechFactory().getVocalChord(vocalChordName).talk(context);
}