Feat: update inner core version

This commit is contained in:
Reider745
2024-12-25 09:19:44 +03:00
parent ea7b9b3a19
commit 984fddab7d
2 changed files with 5 additions and 5 deletions
@@ -511,7 +511,7 @@ public class InnerCoreServer {
} }
public static String getVersionName() { public static String getVersionName() {
return getPropertyString("pack-version", "2.3.1b122"); return getPropertyString("pack-version", "2.3.1b122o1");
} }
public static boolean isEnableSockets() { public static boolean isEnableSockets() {
@@ -521,12 +521,12 @@ public class InnerCoreServer {
public static int getVersionCode() { public static int getVersionCode() {
List<Integer> versions = getVersionsCode(); List<Integer> versions = getVersionsCode();
if(versions.isEmpty()) if(versions.isEmpty())
return 160; return 164;
return versions.get(0); return versions.get(0);
} }
public static List<Integer> getVersionsCode() { public static List<Integer> getVersionsCode() {
final String args = getPropertyString("pack-version-code", "162"); final String args = getPropertyString("pack-version-code", "164");
final String[] versions_s = args.split(","); final String[] versions_s = args.split(",");
final List<Integer> versions = new ArrayList<>(); final List<Integer> versions = new ArrayList<>();
+2 -2
View File
@@ -1,8 +1,8 @@
# Change resolution of pack that client should have to log into server. # Change resolution of pack that client should have to log into server.
# However, no deprecated or unimplemented methods will be added. # However, no deprecated or unimplemented methods will be added.
pack: Inner Core pack: Inner Core
pack-version: 2.3.0b122 pack-version: 2.3.0b122o1
pack-version-code: 163 pack-version-code: 164
# Sets the list of mods and configs to load, you can specify # Sets the list of mods and configs to load, you can specify
# name, folder name of a modpack from /modpacks or a path. # name, folder name of a modpack from /modpacks or a path.