aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorsyeyoung <cyoung06@naver.com>2022-12-27 20:20:13 +0900
committersyeyoung <cyoung06@naver.com>2022-12-27 20:20:13 +0900
commit7ed9fe3de0f9091937ad97b3d76e7b1e1baac02d (patch)
tree8b0f2ddb4fd1de962004dba865ae05f9c60267fd /mod
parent998021eb4cd13045ac15dcadf6184c7577e95954 (diff)
downloadSkyblock-Dungeons-Guide-7ed9fe3de0f9091937ad97b3d76e7b1e1baac02d.tar.gz
Skyblock-Dungeons-Guide-7ed9fe3de0f9091937ad97b3d76e7b1e1baac02d.tar.bz2
Skyblock-Dungeons-Guide-7ed9fe3de0f9091937ad97b3d76e7b1e1baac02d.zip
- Versioning
Signed-off-by: syeyoung <cyoung06@naver.com>
Diffstat (limited to 'mod')
-rw-r--r--mod/src/main/java/kr/syeyoung/dungeonsguide/mod/VersionInfo.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/VersionInfo.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/VersionInfo.java
new file mode 100644
index 00000000..5f5b6dd5
--- /dev/null
+++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/VersionInfo.java
@@ -0,0 +1,16 @@
+package kr.syeyoung.dungeonsguide.mod;
+
+import kr.syeyoung.dungeonsguide.launcher.Main;
+import kr.syeyoung.dungeonsguide.launcher.loader.IDGLoader;
+
+public class VersionInfo {
+ public static final String VERSION = "4.0.0-beta-1.0.0";
+
+ public static IDGLoader getCurrentLoader() {
+ return Main.getMain().getCurrentLoader();
+ }
+
+ public static String getLoaderInfo() {
+ return getCurrentLoader().loaderName();
+ }
+}