EmojiHandler.java 文件源码

java
阅读 23 收藏 0 点赞 0 评论 0

项目:EmojiChat 作者:
/**
 * Validates the config.
 *
 * @param config The config to validate.
 * @return True if the config is valid, false otherwise.
 */
private boolean validateConfig(FileConfiguration config) {
    try {
        return config.get("shortcuts") != null && config.get("disabled-emojis") != null
                && config.get("fix-emoji-coloring") != null && config.get("disable-emojis") != null
                && config.get("pack-variant") != null;
    } catch (Exception e) {
        return false;
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号