From 2fc123df5c8c321580105e8b6ba27dc806228a80 Mon Sep 17 00:00:00 2001 From: 502647092 Date: Wed, 8 Feb 2017 22:51:13 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=B8=8D=E6=B7=B7=E6=B7=86=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 502647092 --- src/main/java/pw/yumc/YumCore/bukkit/Log.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/pw/yumc/YumCore/bukkit/Log.java b/src/main/java/pw/yumc/YumCore/bukkit/Log.java index 60ff847..5f321cc 100644 --- a/src/main/java/pw/yumc/YumCore/bukkit/Log.java +++ b/src/main/java/pw/yumc/YumCore/bukkit/Log.java @@ -10,12 +10,15 @@ import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.command.CommandSender; +import pw.yumc.YumCore.annotation.NotProguard; + /** * 插件日志输出类 * * @author 喵♂呜 * @since 2016年7月23日 上午9:11:01 */ +@NotProguard public class Log { private static boolean globalDebug = new File(String.format("plugins%1$sYumCore%1$sdebug", File.separatorChar)).exists(); private static boolean debug = globalDebug || P.getDescription().getVersion().contains("DEV");