Skip to content

Commit

Permalink
[Utils] Added a isReborn boolean to Vars
Browse files Browse the repository at this point in the history
  • Loading branch information
JojoFR1 committed Jun 8, 2024
1 parent 886dbc6 commit 4bf0cd3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/aeyama/AeyamaVars.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ public class AeyamaVars {
public static String repo = "Aeyama-Mod/aeyama";
public static boolean isDev;
public static boolean isBeta;
public static boolean isReborn;

public static void load() {
isDev = mod.meta.version.contains("dev");
isBeta = mod.meta.version.contains("beta") || mod.meta.version.contains("pre");
isReborn = mod.meta.version.substring(0, mod.meta.version.indexOf("-")).contains("r");
}
}

0 comments on commit 4bf0cd3

Please sign in to comment.