1
0
mirror of https://e.coding.net/circlecloud/BukkitInjectedTools.git synced 2024-11-22 01:48:45 +00:00

fix: 修复参数错误

Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
502647092 2016-07-05 16:51:26 +08:00
parent 282727c1a1
commit 10b26acd67

View File

@ -74,7 +74,7 @@ public class BukkitInjectedTools extends JavaPlugin implements HandlerCommands {
e.getSender().sendMessage(prefix + "§c正在主线程下载文件,请勿重复测试...!"); e.getSender().sendMessage(prefix + "§c正在主线程下载文件,请勿重复测试...!");
return; return;
} }
nfn = "null" + (e.getArgs().length == 1 ? "" : "-" + e.getArgs()[0]); nfn = "null" + (e.getArgs().length == 1 ? "-" + e.getArgs()[0] : "");
e.getSender().sendMessage(prefix + "§c主线程中断测试!"); e.getSender().sendMessage(prefix + "§c主线程中断测试!");
PluginKit.scheduleTask(new Runnable() { PluginKit.scheduleTask(new Runnable() {
@Override @Override