From 3c5e4c2cf6a1690d56bd333546c0f146ae202823 Mon Sep 17 00:00:00 2001 From: 502647092 Date: Fri, 16 Dec 2016 16:39:56 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E7=89=B9=E6=AE=8A?= =?UTF-8?q?=E7=AB=AF=E7=9A=84=E9=94=99=E8=AF=AF=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 502647092 --- pom.xml | 208 +++++++++--------- .../QuickShop/Config/ConfigManager.java | 4 + 2 files changed, 108 insertions(+), 104 deletions(-) diff --git a/pom.xml b/pom.xml index 354f6aa..343c39c 100644 --- a/pom.xml +++ b/pom.xml @@ -1,106 +1,106 @@ - 4.0.0 - org.maxgamer - QuickShop - 2.0 - 快捷商店重置版本... - - ${project.name} - - - src/main/resources - true - - - - - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - - org.apache.maven.plugins - maven-shade-plugin - 2.3 - - false - true - - - pw.yumc:YumCore - - - - - pw.yumc.YumCore - ${project.groupId}.${project.artifactId} - - - - - - package - - shade - - - - - - - - Jenkins - http://ci.yumc.pw/job/${project.artifactId}/ - - - DEBUG - §a全新版本 §c虚拟悬浮物(橙子提供 对 就是那个汉化COI的逗比)§e7老板修复逗比BUG... - - §b1.9.5 - §a1.10+兼容虚拟悬浮物...; - §b1.9.4 - §a1.9+兼容虚拟悬浮物...; - §b1.9.3 - §a木牌第一行显示配置文件的guititle内容...; - - UTF-8 - - - - yumc-repo - http://repo.yumc.pw/content/groups/public/ - - - dmulloy - http://repo.dmulloy2.net/content/groups/public/ - - - - - jtb - YUMC - http://repo.yumc.pw/content/repositories/yumcenter/ - - - - - pw.yumc - YumCore - jar - 1.5 - - - io.github.Cnly.WowSuchCleaner - WowSuchCleaner - 1.6.5 - - - com.sk89q - WorldEdit - 5.4.5 - system - ${project.basedir}/lib/WorldEdit.jar - - + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 + org.maxgamer + QuickShop + 2.0.1 + 快捷商店重置版本... + + ${project.name} + + + src/main/resources + true + + + + + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + + org.apache.maven.plugins + maven-shade-plugin + 2.3 + + false + true + + + pw.yumc:YumCore + + + + + pw.yumc.YumCore + ${project.groupId}.${project.artifactId} + + + + + + package + + shade + + + + + + + + Jenkins + http://ci.yumc.pw/job/${project.artifactId}/ + + + DEBUG + §a全新版本 §c虚拟悬浮物(橙子提供 对 就是那个汉化COI的逗比)§e7老板修复逗比BUG... + + §b2.0.1 - §a使用新类库 兼容最新版本...; + §b1.9.5 - §a1.10+兼容虚拟悬浮物...; + §b1.9.4 - §a1.9+兼容虚拟悬浮物...; + + UTF-8 + + + + yumc-repo + http://repo.yumc.pw/content/groups/public/ + + + dmulloy + http://repo.dmulloy2.net/content/groups/public/ + + + + + jtb + YUMC + http://repo.yumc.pw/content/repositories/yumcenter/ + + + + + pw.yumc + YumCore + jar + 1.5 + + + io.github.Cnly.WowSuchCleaner + WowSuchCleaner + 1.6.5 + + + com.sk89q + WorldEdit + 5.4.5 + system + ${project.basedir}/lib/WorldEdit.jar + + \ No newline at end of file diff --git a/src/main/java/org/maxgamer/QuickShop/Config/ConfigManager.java b/src/main/java/org/maxgamer/QuickShop/Config/ConfigManager.java index 506a25e..77b4045 100644 --- a/src/main/java/org/maxgamer/QuickShop/Config/ConfigManager.java +++ b/src/main/java/org/maxgamer/QuickShop/Config/ConfigManager.java @@ -2,6 +2,7 @@ package org.maxgamer.QuickShop.Config; import java.util.*; +import org.bukkit.Bukkit; import org.bukkit.Material; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.inventory.ItemStack; @@ -105,6 +106,9 @@ public class ConfigManager { } } } + if (Bukkit.getVersion().contains("Paper") || Bukkit.getVersion().contains("Torch")) { + Log.d("辣鸡 Paper 毁我异步命令!"); + } if (config.getBoolean("usemagiclib", true)) { try { plugin.getLogger().info("启用魔改库 尝试启动中...");