Skip to content

Commit

Permalink
v1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
KingContaria authored Sep 5, 2022
1 parent 2ef395c commit a0c1a22
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ org.gradle.jvmargs=-Xmx1G
loader_version=0.13.3

# Mod Properties
mod_version = 1.2.2-pre1+1.16.1
mod_version = 1.2.2+1.16.1
maven_group = com.kingcontaria.standardsettings
archives_base_name = standardsettings
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
@Environment(value= EnvType.CLIENT)
public class StandardSettings {

public static final int[] version = new int[]{1,2,2,-1000};
public static final int[] version = new int[]{1,2,2,0};
public static final Logger LOGGER = LogManager.getLogger();
public static final MinecraftClient client = MinecraftClient.getInstance();
public static final GameOptions options = client.options;
Expand Down Expand Up @@ -87,10 +87,11 @@ private static boolean wereFilesModified(Map<File, Long> map) {
if (map == null) {
return true;
}
boolean wereFilesModified = false;
for (Map.Entry<File, Long> entry : map.entrySet()) {
if (entry.getKey().lastModified() != entry.getValue() || !entry.getKey().exists()) return true;
wereFilesModified |= !entry.getKey().exists() || entry.getKey().lastModified() != entry.getValue();
}
return false;
return wereFilesModified;
}

// creates a standardoptions file chain by checking if the first line of a file points to another file directory
Expand Down

0 comments on commit a0c1a22

Please sign in to comment.