Point of reference for https://github.com/Bukkit/CraftBukkit/pull/1220/files#pullrequestreviewcomment-5415718, this diff is for asynchronous chat (even vanilla did that wrong), NOT plugins, nor API.