소스 검색

1.16.2 update

Jared 4 년 전
부모
커밋
9a7c6d707c

+ 2 - 2
build.gradle

@@ -96,7 +96,7 @@ task genGitChangelog() {
 }
 
 dependencies {
-    minecraft 'net.minecraftforge:forge:1.16.1-32.0.63'
+    minecraft 'net.minecraftforge:forge:1.16.2-33.0.7'
 }
 
 jar {
@@ -207,7 +207,7 @@ task updateVersionTracker {
         def body = [
                 'author'        : "${project.findProperty('versionTrackerAuthor')}",
                 'projectName'   : "controlling",
-                'gameVersion'   : "1.16.1",
+                'gameVersion'   : "1.16.2",
                 'projectVersion': "${version}",
                 'homepage'      : "${project.findProperty('versionTrackerHomepage')}",
                 'uid'           : "${project.findProperty('versionTrackerKey')}"

+ 1 - 1
src/main/java/com/blamejared/controlling/Controlling.java

@@ -28,7 +28,7 @@ public class Controlling {
                 URLConnection urlConnection = url.openConnection();
                 urlConnection.setConnectTimeout(15000);
                 urlConnection.setReadTimeout(15000);
-                urlConnection.setRequestProperty("User-Agent", "Controlling|1.16.1");
+                urlConnection.setRequestProperty("User-Agent", "Controlling|1.16.2");
                 try(BufferedReader reader = new BufferedReader(new InputStreamReader(urlConnection.getInputStream()))) {
                     PATRON_LIST = reader.lines().filter(s -> !s.isEmpty()).collect(Collectors.toSet());
                 }

+ 1 - 1
src/main/java/com/blamejared/controlling/client/gui/GuiCheckBox.java

@@ -47,7 +47,7 @@ public class GuiCheckBox extends Button {
             
             if(this.isChecked)
                 this.drawCenteredString(stack, mc.fontRenderer, "x", this.x + this.boxWidth / 2 + 1, this.y + 1, 14737632);
-            mc.fontRenderer.func_238407_a_(stack, getMessage(), this.x + this.boxWidth + 2, this.y + 2, color);
+            mc.fontRenderer.func_238407_a_(stack, getMessage().func_241878_f(), this.x + this.boxWidth + 2, this.y + 2, color);
         }
     }
     

+ 1 - 1
src/main/java/com/blamejared/controlling/client/gui/GuiNewControls.java

@@ -279,7 +279,7 @@ public class GuiNewControls extends ControlsScreen {
         }
 
         ITextComponent text = new TranslationTextComponent("options.search");
-        font.func_238407_a_(stack, text, this.width / 2f - (155 / 2f) - (font.getStringWidth(text.getString())) - 5, this.height - 29 - 42, 16777215);
+        font.func_238407_a_(stack, text.func_241878_f(), this.width / 2f - (155 / 2f) - (font.getStringWidth(text.getString())) - 5, this.height - 29 - 42, 16777215);
 
         if (patreonButton.isHovered()) {
             String str = "Join " + name + " and other patrons!";

+ 2 - 1
src/main/resources/META-INF/mods.toml

@@ -3,11 +3,12 @@ loaderVersion="[32,)" #mandatory
 issueTrackerURL="https://github.com/jaredlll08/Controlling/issues" #optional
 displayURL="https://minecraft.curseforge.com/projects/controlling" #optional
 authors="Jaredlll08" #optional
+license="MIT"
 [[mods]] #mandatory
 modId="controlling" #mandatory
 version="${file.jarVersion}" #mandatory
 displayName="Controlling" #mandatory
-updateJSONURL="https://updates.blamejared.com/get?n=controlling&gv=1.16.1"
+updateJSONURL="https://updates.blamejared.com/get?n=controlling&gv=1.16.2"
 description='''
 Adds the ability to search for keybinds using their name in the KeyBinding menu, this allows players to easily find a key binding in the menu.
 '''