版本更新至 3.82

新增:/tlib sounds 命令打开音效库
This commit is contained in:
坏黑
2018-03-18 21:28:46 +08:00
parent f9a405a5ca
commit 6aa5dbc5bd
5 changed files with 153 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ import me.skymc.taboolib.commands.sub.VariableSetCommand;
import me.skymc.taboolib.commands.sub.cycle.CycleCommand;
import me.skymc.taboolib.commands.sub.itemlist.ItemListCommand;
import me.skymc.taboolib.commands.sub.shell.ShellCommand;
import me.skymc.taboolib.commands.sub.sounds.SoundsCommand;
import me.skymc.taboolib.inventory.ItemUtils;
import me.skymc.taboolib.message.MsgUtils;
@@ -84,6 +85,9 @@ public class MainCommands implements CommandExecutor{
else if (args[0].equalsIgnoreCase("cycle") || args[0].equalsIgnoreCase("c")) {
new CycleCommand(sender, args);
}
else if (args[0].equalsIgnoreCase("sounds")) {
new SoundsCommand(sender, args);
}
else {
MsgUtils.send(sender, "&4指令错误");
}