aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/gui
diff options
context:
space:
mode:
authorLorenz <lo.scherf@gmail.com>2022-08-23 13:00:01 +0200
committerLorenz <lo.scherf@gmail.com>2022-08-23 13:00:01 +0200
commit51616771a0ebb98b7b63703562ad334ac418d1a6 (patch)
tree34bbc0bb1bc55840b482b88aa1b1953275d5354a /src/main/java/at/hannibal2/skyhanni/config/gui
parent57b351f66232fd7323234ab3e407729667c40143 (diff)
downloadskyhanni-51616771a0ebb98b7b63703562ad334ac418d1a6.tar.gz
skyhanni-51616771a0ebb98b7b63703562ad334ac418d1a6.tar.bz2
skyhanni-51616771a0ebb98b7b63703562ad334ac418d1a6.zip
added display to show last time a minion was cleared
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/gui')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/gui/commands/Commands.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/gui/commands/Commands.java b/src/main/java/at/hannibal2/skyhanni/config/gui/commands/Commands.java
index 17609296e..9aca72ec3 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/gui/commands/Commands.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/gui/commands/Commands.java
@@ -77,5 +77,15 @@ public class Commands {
}
)
);
+ ClientCommandHandler.instance.registerCommand(
+ new SimpleCommand(
+ "shconfigsave",
+ new SimpleCommand.ProcessCommandRunnable() {
+ public void processCommand(ICommandSender sender, String[] args) {
+ SkyHanniMod.configManager.saveConfig();
+ }
+ }
+ )
+ );
}
}