aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/commands
diff options
context:
space:
mode:
authorCuzImClicks <bruno778.whiteelfie@gmail.com>2021-04-03 19:59:46 +0200
committerCuzImClicks <bruno778.whiteelfie@gmail.com>2021-04-03 19:59:46 +0200
commit09291c4f8ee992d2b1c037dfeac84ee362e6288e (patch)
treee7ae4675068672d24e012cca0d66ac07ad0f7dc8 /src/main/java/me/Danker/commands
parentdf1f83cf4ddb80969d2086cf1d7a86df9dc90653 (diff)
downloadSkyblockMod-09291c4f8ee992d2b1c037dfeac84ee362e6288e.tar.gz
SkyblockMod-09291c4f8ee992d2b1c037dfeac84ee362e6288e.tar.bz2
SkyblockMod-09291c4f8ee992d2b1c037dfeac84ee362e6288e.zip
added Completed Commission Highlighting
Diffstat (limited to 'src/main/java/me/Danker/commands')
-rw-r--r--src/main/java/me/Danker/commands/ToggleCommand.java11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/main/java/me/Danker/commands/ToggleCommand.java b/src/main/java/me/Danker/commands/ToggleCommand.java
index a6f20fc..b9c52e7 100644
--- a/src/main/java/me/Danker/commands/ToggleCommand.java
+++ b/src/main/java/me/Danker/commands/ToggleCommand.java
@@ -33,6 +33,7 @@ public class ToggleCommand extends CommandBase implements ICommand {
public static boolean cakeTimerToggled;
public static boolean highlightSlayers;
public static boolean highlightArachne;
+ public static boolean highlightCommissions;
// Chat Messages
public static boolean sceptreMessages;
public static boolean midasStaffMessages;
@@ -76,7 +77,7 @@ public class ToggleCommand extends CommandBase implements ICommand {
public static boolean bloodRoomMusic;
public static boolean dungeonMusic;
- @Override
+ @Override
public String getCommandName() {
return "toggle";
}
@@ -93,7 +94,7 @@ public class ToggleCommand extends CommandBase implements ICommand {
"startswithterminal/selectallterminal/clickinorderterminal/" +
"ultrasequencer/chronomatron/superpairs/hidetooltipsinaddons/pickblock/" +
"melodytooltips/highlightslayers/highlightarachne/dungeonbossmusic/bloodroommusic/" +
- "dungeonmusic/list>";
+ "dungeonmusic/highlightcommissions/list>";
}
public static String usage(ICommandSender arg0) {
@@ -121,7 +122,7 @@ public class ToggleCommand extends CommandBase implements ICommand {
"selectallterminal", "clickinorderterminal",
"ultrasequencer", "chronomatron", "superpairs",
"hidetooltipsinaddons", "pickblock", "melodytooltips", "highlightslayers",
- "dungeonbossmusic", "bloodroommusic", "dungeonmusic", "list");
+ "dungeonbossmusic", "bloodroommusic", "dungeonmusic", "highlightcommissions", "list");
}
return null;
}
@@ -396,6 +397,10 @@ public class ToggleCommand extends CommandBase implements ICommand {
highlightArachne = !highlightArachne;
ConfigHandler.writeBooleanConfig("toggles", "HighlightArachne", highlightArachne);
player.addChatMessage(new ChatComponentText(DankersSkyblockMod.MAIN_COLOUR + "Highlight Arachne " + DankersSkyblockMod.SECONDARY_COLOUR + highlightArachne + DankersSkyblockMod.MAIN_COLOUR + "."));
+ case "highlightcommissions":
+ highlightCommissions = !highlightCommissions;
+ ConfigHandler.writeBooleanConfig("toggles", "HighlightCommissions", highlightCommissions);
+ player.addChatMessage(new ChatComponentText(DankersSkyblockMod.MAIN_COLOUR + "Highlight Commissions " + DankersSkyblockMod.SECONDARY_COLOUR + highlightCommissions + DankersSkyblockMod.MAIN_COLOUR + "."));
case "dungeonbossmusic":
dungeonBossMusic = !dungeonBossMusic;
CustomMusic.dungeonboss.stop();