Skip to content

Commit

Permalink
v2.1.7.8
Browse files Browse the repository at this point in the history
/aw util teampreset -> /aw config teampreset 변경
  • Loading branch information
Daybreak365 committed May 8, 2020
1 parent 17c1f86 commit 74818bf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions modules/Plugin/src/daybreak/abilitywar/MainCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,8 @@ private void parseConfigCommand(Player p, String label, String[] args) {
new DeathWizard(p, plugin).Show();
} else if (args[0].equalsIgnoreCase("ability")) {
new AbilitySettingWizard(p, plugin).openGUI(1);
} else if (args[0].equalsIgnoreCase("teampreset")) {
new TeamPresetGUI(p, plugin).openGUI(1);
} else {
if (NumberUtil.isInt(args[0])) {
sendHelpConfigCommand(p, label, Integer.parseInt(args[0]));
Expand Down Expand Up @@ -518,8 +520,6 @@ private void parseUtilCommand(Player p, String label, String[] args) {
} else {
Messager.sendErrorMessage(p, ChatColor.translateAlternateColorCodes('&', "&c능력자 전쟁이 진행되고 있지 않거나 팀 기능을 사용할 수 있는 게임이 아닙니다."));
}
} else if (args[0].equalsIgnoreCase("teampreset")) {
new TeamPresetGUI(p, plugin).openGUI(1);
} else {
if (NumberUtil.isInt(args[0])) {
sendHelpUtilCommand(p, label, Integer.parseInt(args[0]));
Expand Down Expand Up @@ -677,7 +677,8 @@ private void sendHelpConfigCommand(CommandSender sender, String label, int page)
ChatColor.translateAlternateColorCodes('&',
"&b/" + label + " config <페이지> &7로 더 많은 명령어를 확인하세요! ( &b" + page + " 페이지 &7/ &b" + allPage
+ " 페이지 &7)"),
Formatter.formatCommand(label + " config", "ability", "능력별 설정을 변경합니다.", true)});
Formatter.formatCommand(label + " config", "ability", "능력별 설정을 변경합니다.", true),
Formatter.formatCommand(label + " config", "teampreset", "팀 프리셋 설정 GUI를 엽니다.", true)});
break;
default:
Messager.sendErrorMessage(sender, "존재하지 않는 페이지입니다.");
Expand Down Expand Up @@ -723,8 +724,7 @@ private void sendHelpUtilCommand(CommandSender sender, String label, int page) {
Formatter.formatCommand(label + " util", "resetcool", "플레이어들의 능력 쿨타임을 초기화시킵니다.", true),
Formatter.formatCommand(label + " util", "resetduration", "플레이어들의 능력 지속시간을 초기화시킵니다.", true),
Formatter.formatCommand(label + " util", "kit <대상/@a>", "대상에게 기본템을 다시 지급합니다.", true),
Formatter.formatCommand(label + " util", "team", "팀 유틸 명령어를 확인합니다.", true),
Formatter.formatCommand(label + " util", "teampreset", "팀 프리셋 설정 GUI를 엽니다.", true)});
Formatter.formatCommand(label + " util", "team", "팀 유틸 명령어를 확인합니다.", true)});
break;
default:
Messager.sendErrorMessage(sender, "존재하지 않는 페이지입니다.");
Expand Down Expand Up @@ -766,7 +766,7 @@ public List<String> onTabComplete(CommandSender sender, Command cmd, String labe
}
case 2:
if (args[0].equalsIgnoreCase("config")) {
List<String> configs = Messager.asList("kit", "spawn", "inv", "game", "death", "ability");
List<String> configs = Messager.asList("kit", "spawn", "inv", "game", "death", "ability", "teampreset");
if (args[1].isEmpty()) {
return configs;
} else {
Expand All @@ -775,7 +775,7 @@ public List<String> onTabComplete(CommandSender sender, Command cmd, String labe
}
} else if (args[0].equalsIgnoreCase("util")) {
List<String> utils = Messager.asList("abi", "spec", "ablist", "blacklist", "resetcool",
"resetduration", "kit", "inv", "team", "teampreset");
"resetduration", "kit", "inv", "team");
if (args[1].isEmpty()) {
return utils;
} else {
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<encoding>UTF-8</encoding>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
<revision>2.1.7.7</revision>
<revision>2.1.7.8</revision>
<bukkit-api.version>1.15.2-R0.1-SNAPSHOT</bukkit-api.version>
</properties>

Expand Down

0 comments on commit 74818bf

Please sign in to comment.