aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/commands
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-02-28 00:09:13 +0900
committersyeyoung <cyong06@naver.com>2021-02-28 00:09:13 +0900
commit38a65e1d183cde880fd0e88b22d5f58f3b487167 (patch)
tree6692f82f19f4f571a902e262e0fc97ceb2239e5a /src/main/java/kr/syeyoung/dungeonsguide/commands
parent01f5b97bd5e0f9369f883982752852c0fbb09bc1 (diff)
downloadSkyblock-Dungeons-Guide-38a65e1d183cde880fd0e88b22d5f58f3b487167.tar.gz
Skyblock-Dungeons-Guide-38a65e1d183cde880fd0e88b22d5f58f3b487167.tar.bz2
Skyblock-Dungeons-Guide-38a65e1d183cde880fd0e88b22d5f58f3b487167.zip
fix bugs, add new feature
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/commands')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/commands/CommandReparty.java11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/commands/CommandReparty.java b/src/main/java/kr/syeyoung/dungeonsguide/commands/CommandReparty.java
index 0e443e22..a66ab6f9 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/commands/CommandReparty.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/commands/CommandReparty.java
@@ -3,6 +3,7 @@ package kr.syeyoung.dungeonsguide.commands;
import kr.syeyoung.dungeonsguide.config.guiconfig.GuiConfig;
import kr.syeyoung.dungeonsguide.dungeon.roomfinder.DungeonRoomInfoRegistry;
import kr.syeyoung.dungeonsguide.e;
+import kr.syeyoung.dungeonsguide.features.FeatureRegistry;
import kr.syeyoung.dungeonsguide.utils.TextUtils;
import net.minecraft.client.Minecraft;
import net.minecraft.command.CommandBase;
@@ -23,14 +24,20 @@ import java.util.ArrayList;
import java.util.List;
public class CommandReparty extends CommandBase {
+ private String command;
+ public CommandReparty() {
+ command = FeatureRegistry.ETC_REPARTY.<String>getParameter("command").getValue();
+ command = command.replace(" ", "");
+ }
+
@Override
public String getCommandName() {
- return "reparty";
+ return command;
}
@Override
public String getCommandUsage(ICommandSender sender) {
- return "reparty";
+ return command;
}
@Override