Fix LocationUtil.getTarget(), temporary until Bukkit provides a fix