Skip to content

Commit

Permalink
Update version to 1.7.0-beta.2, fix dev mode toggle cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
ILikePlayingGames committed Mar 12, 2022
1 parent b82b6d1 commit 83b17f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
org.gradle.jvmargs=-Xmx2G

# SkyblockAddons Properties
version=1.7.0-beta.1
version=1.7.0-beta.2
# Set by CI
buildNumber=0
acceptedMinecraftVersions=[1.8.9]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import net.minecraft.event.ClickEvent;
import net.minecraft.event.HoverEvent;
import net.minecraft.util.*;
import org.apache.logging.log4j.Logger;

import java.awt.*;
import java.io.IOException;
Expand Down Expand Up @@ -186,7 +185,7 @@ public void processCommand(ICommandSender sender, String[] args) throws CommandE

} else if (args[0].equalsIgnoreCase("dev") || args[0].equalsIgnoreCase("nbt")) {
SkyblockKeyBinding devModeKeyBinding = main.getDeveloperCopyNBTKey();
Feature.DEVELOPER_MODE.setEnabled(main.getConfigValues().isEnabled(Feature.DEVELOPER_MODE));
Feature.DEVELOPER_MODE.setEnabled(!main.getConfigValues().isEnabled(Feature.DEVELOPER_MODE));

if (main.getConfigValues().isEnabled(Feature.DEVELOPER_MODE)) {
main.getUtils().sendMessage(ColorCode.GREEN + Translations.getMessage("commandUsage.sba.dev.enabled",
Expand Down

0 comments on commit 83b17f5

Please sign in to comment.