From adaff6624169a8a9dea741efb41c71a7de178cbd Mon Sep 17 00:00:00 2001 From: 502647092 Date: Wed, 20 Jul 2016 16:26:42 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=91=BD=E4=BB=A4=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E6=97=B6=E6=8F=90=E7=A4=BA=E7=8E=A9=E5=AE=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 502647092 --- src/main/java/pw/yumc/Yum/inject/CommandInjector.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/pw/yumc/Yum/inject/CommandInjector.java b/src/main/java/pw/yumc/Yum/inject/CommandInjector.java index 6c75ffe..881e1bb 100644 --- a/src/main/java/pw/yumc/Yum/inject/CommandInjector.java +++ b/src/main/java/pw/yumc/Yum/inject/CommandInjector.java @@ -119,6 +119,10 @@ public class CommandInjector implements TabExecutor { while (e.getCause() != null) { e = e.getCause(); } + sender.sendMessage(prefix + "§c命令执行异常 请反馈下列信息给腐竹!"); + sender.sendMessage("§6插件名称: §b" + plugin.getName()); + sender.sendMessage("§6异常名称: §c" + e.getClass().getName()); + sender.sendMessage("§6异常说明: §3" + e.getMessage()); MonitorCommand.lastError = e; PluginKit.sc(prefix + "§6玩家 §a" + sender.getName() + " §6执行 §b" + plugin.getName() + " §6插件 §d" + label + " " + StrKit.join(args, " ") + " §6命令时发生异常!"); PluginKit.sc("§6异常名称: §c" + e.getClass().getName());