This commit is contained in:
TheBrokenRail 2020-06-24 16:22:00 -04:00
parent 88a6aa28fb
commit bc36e1d390
3 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
# Changelog # Changelog
**1.0.4**
* Improve File Compatibility Check
**1.0.3** **1.0.3**
* Add Support For GitHub Releases * Add Support For GitHub Releases
* Use Multi-Threading * Use Multi-Threading

View File

@ -9,7 +9,7 @@ org.gradle.jvmargs = -Xmx1G
fabric_loader_version = 0.8.8+build.202 fabric_loader_version = 0.8.8+build.202
# Mod Properties # Mod Properties
mod_version = 1.0.3 mod_version = 1.0.4
maven_group = com.thebrokenrail maven_group = com.thebrokenrail
# Dependencies # Dependencies

View File

@ -76,7 +76,7 @@ public class Util {
} }
public static boolean isFileCompatible(String fileName) { public static boolean isFileCompatible(String fileName) {
return !fileName.endsWith("-dev" + JAR_EXTENSION) && !fileName.endsWith("-sources" + JAR_EXTENSION) && !fileName.endsWith("-sources-dev" + JAR_EXTENSION); return !fileName.endsWith("-dev" + JAR_EXTENSION) && !fileName.endsWith("-sources" + JAR_EXTENSION) && !fileName.endsWith("-sources-dev" + JAR_EXTENSION) && fileName.endsWith(JAR_EXTENSION);
} }
public static GameVersion getMinecraftVersion() { public static GameVersion getMinecraftVersion() {