diff --git a/gradle.properties b/gradle.properties index dc8f9f70f1..74e709761d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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] diff --git a/src/main/java/codes/biscuit/skyblockaddons/commands/SkyblockAddonsCommand.java b/src/main/java/codes/biscuit/skyblockaddons/commands/SkyblockAddonsCommand.java index a566de43fb..4c8d2bbba6 100644 --- a/src/main/java/codes/biscuit/skyblockaddons/commands/SkyblockAddonsCommand.java +++ b/src/main/java/codes/biscuit/skyblockaddons/commands/SkyblockAddonsCommand.java @@ -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; @@ -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",