aboutsummaryrefslogtreecommitdiff
path: root/mod/src/main/java/kr
diff options
context:
space:
mode:
authorsyeyoung <cyoung06@naver.com>2023-02-07 15:27:06 +0900
committersyeyoung <cyoung06@naver.com>2023-02-07 15:27:06 +0900
commita072361166a0e523fb9e4b53f9d378d99beb48e0 (patch)
tree36018de766d2adb856eee7363ac301c4332aa86b /mod/src/main/java/kr
parent399f681abc0bc738e01d659f2a6ae73e5fc64f71 (diff)
downloadSkyblock-Dungeons-Guide-a072361166a0e523fb9e4b53f9d378d99beb48e0.tar.gz
Skyblock-Dungeons-Guide-a072361166a0e523fb9e4b53f9d378d99beb48e0.tar.bz2
Skyblock-Dungeons-Guide-a072361166a0e523fb9e4b53f9d378d99beb48e0.zip
- new command
Signed-off-by: syeyoung <cyoung06@naver.com>
Diffstat (limited to 'mod/src/main/java/kr')
-rw-r--r--mod/src/main/java/kr/syeyoung/dungeonsguide/mod/commands/CommandDungeonsGuide.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/commands/CommandDungeonsGuide.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/commands/CommandDungeonsGuide.java
index fed67faf..74846206 100644
--- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/commands/CommandDungeonsGuide.java
+++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/commands/CommandDungeonsGuide.java
@@ -76,7 +76,7 @@ public class CommandDungeonsGuide extends CommandBase {
"purge",
"pbroadcast",
"partymax",
- "reload"
+ "unload"
};
@Override
@@ -129,8 +129,8 @@ public class CommandDungeonsGuide extends CommandBase {
partyMaxCommand(args);
break;
- case "reload":
- reloadCommand();
+ case "unload":
+ unloadCommand();
break;
default:
@@ -143,7 +143,7 @@ public class CommandDungeonsGuide extends CommandBase {
ChatTransmitter.addToQueue(new ChatComponentText("§eDungeons Guide §7:: §e/dg pv [ign] §7-§f Profile Viewer"));
ChatTransmitter.addToQueue(new ChatComponentText("§eDungeons Guide §7:: §e/dg pvall §7-§f Profile Viewer For all people on party"));
ChatTransmitter.addToQueue(new ChatComponentText("§eDungeons Guide §7:: §e/dg purge §7-§f Purge api cache."));
- ChatTransmitter.addToQueue(new ChatComponentText("§eDungeons Guide §7:: §e/dg reload §7-§f Reload Current Version of Dungeons Guide. Auto update versions will not be updated."));
+ ChatTransmitter.addToQueue(new ChatComponentText("§eDungeons Guide §7:: §e/dg unload §7-§f Unload Current Version of Dungeons Guide, to load the new version"));
break;
}
}
@@ -266,7 +266,7 @@ public class CommandDungeonsGuide extends CommandBase {
}
}
- private void reloadCommand() {
- Main.getMain().reloadWithoutStacktraceReference(Main.getMain().getCurrentLoader());
+ private void unloadCommand() {
+ Main.getMain().unloadWithoutStacktraceReference();
}
}