From fdee9c7b50d4dd7880d0b4a26e7daec341f9b9d3 Mon Sep 17 00:00:00 2001 From: Anuken Date: Wed, 1 Jan 2020 10:45:02 -0500 Subject: [PATCH 1/2] Update README.md --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 555f3b3e09..0dbca644f0 100644 --- a/README.md +++ b/README.md @@ -49,11 +49,6 @@ If the terminal returns `Permission denied` or `Command not found` on Mac/Linux, Gradle may take up to several minutes to download files. Be patient.
After building, the output .JAR file should be in `/desktop/build/libs/Mindustry.jar` for desktop builds, and in `/server/build/libs/server-release.jar` for server builds. -### Feature Requests - -[![Feature Requests](https://feathub.com/Anuken/Mindustry?format=svg)](https://feathub.com/Anuken/Mindustry) - - ### Downloads [Get it on F-Droid](https://f-droid.org/packages/io.anuke.mindustry/) + +### Feature Requests + +[![Feature Requests](https://feathub.com/Anuken/Mindustry?format=svg)](https://feathub.com/Anuken/Mindustry) From ddb0d7eff2127da55cc80013fc80dad11751015c Mon Sep 17 00:00:00 2001 From: Anuken Date: Wed, 1 Jan 2020 12:16:23 -0500 Subject: [PATCH 2/2] Fixed #1304 --- core/src/mindustry/mod/ContentParser.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/mindustry/mod/ContentParser.java b/core/src/mindustry/mod/ContentParser.java index 3ea54d6160..aa6048d833 100644 --- a/core/src/mindustry/mod/ContentParser.java +++ b/core/src/mindustry/mod/ContentParser.java @@ -333,8 +333,8 @@ public class ContentParser{ } private void readBundle(ContentType type, String name, JsonValue value){ - UnlockableContent cont = Vars.content.getByName(type, name) instanceof UnlockableContent ? - Vars.content.getByName(type, name) : null; + UnlockableContent cont = locate(type, name) instanceof UnlockableContent ? + locate(type, name) : null; String entryName = cont == null ? type + "." + currentMod.name + "-" + name + "." : type + "." + cont.name + "."; I18NBundle bundle = Core.bundle;