From d0efab0878d12e1181fdc781a57e878ca6bc429a Mon Sep 17 00:00:00 2001 From: Jamie Brassel Date: Thu, 28 Jan 2021 19:37:49 -0500 Subject: [PATCH] Fix crash in compiled environment and shorten changelog --- .../cmsc389e/circuitry/common/network/KeyPressedMessage.java | 4 ++-- update.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/cmsc389e/circuitry/common/network/KeyPressedMessage.java b/src/main/java/cmsc389e/circuitry/common/network/KeyPressedMessage.java index 7407202..5b85ab7 100644 --- a/src/main/java/cmsc389e/circuitry/common/network/KeyPressedMessage.java +++ b/src/main/java/cmsc389e/circuitry/common/network/KeyPressedMessage.java @@ -1,6 +1,6 @@ package cmsc389e.circuitry.common.network; -import org.codehaus.plexus.util.StringUtils; +import org.apache.commons.lang3.StringUtils; import org.lwjgl.glfw.GLFW; import cmsc389e.circuitry.Circuitry; @@ -20,7 +20,7 @@ public enum Key { DECREASE_TAG("Decrease Tag", GLFW.GLFW_KEY_G), TOGGLE_NODE("Toggle Node", GLFW.GLFW_KEY_R); public static void register() { - String category = StringUtils.capitalise(Circuitry.MODID); + String category = StringUtils.capitalize(Circuitry.MODID); for (Key key : values()) { key.binding = new KeyBinding(key.description, key.keyCode, category); ClientRegistry.registerKeyBinding(key.binding); diff --git a/update.json b/update.json index 5ea9beb..eeca7d6 100644 --- a/update.json +++ b/update.json @@ -1,7 +1,7 @@ { "homepage": "https://github.com/CMSC-389E/mod-and-testing-framework/releases", "1.15.2": { - "1.15.2-2.0.0.0": "-Fixed /submit finally. It should now work properly as it is over a third party library instead of my own code.\n-Updated semester information and links to new Spring 2021 class page.\n-Disabled other dimensions apart from the Overworld.\n-Node tags are now correctly synced between the server and client. This fixes some strange behavior in multiplayer servers.\n-Added keys to cycle backwards through tags for a highlighted node (default 'G') and to toggle a highlighted node on and off (default 'R'). These can be changed in the vanilla keybindings menu.\n-Added default world generation settings to servers as well as clients. The flat world is unfortunately not Redstone-Ready on the server due to limitations in the Minecraft code. To reset the modified settings to default, just change the "reset-props" option in 'server.properties' to "true", or delete it.\n-Finally added a mod description to the in game mod menu.\nConfiguration files will now always unload and reload when switching worlds in the client. This fixes some edge cases where it did not, in fact, do this.\n-Performance improvements.", + "1.15.2-2.0.0.0": "-Fix /submit.\n-Update semester information and links.\n-Disable other dimensions.\n-Sync node tags server to client.\n-Add toggle node and decrease tag keys.\n-Add default server settings.\n-Add mod description.\n-Force configuration file reload on world load.\n-Improve performance.", "1.15.2-1.0.0.0": "-Add checks for problems loading test files.\n-Set default world settings.\n-Fix testing delay.\n-Fix stop command.\n-Add testing summary.\n-Fix version information.", "1.15.2-0.0.1.1": "Fix Apache HttpClient Mime embedding", "1.15.2-0.0.1.0": "Update to 1.15.2."