diff options
author | syeyoung <cyoung06@naver.com> | 2023-02-24 23:35:37 +0900 |
---|---|---|
committer | syeyoung <cyoung06@naver.com> | 2023-02-24 23:35:37 +0900 |
commit | efc22477304499bea58500723d75d25d148cd6b6 (patch) | |
tree | ab7787faab153d914783cd57b2d0eb14c93d4b2e | |
parent | 6480a493523b13e7cdc393bdbcf62a27950d3ef7 (diff) | |
download | Skyblock-Dungeons-Guide-efc22477304499bea58500723d75d25d148cd6b6.tar.gz Skyblock-Dungeons-Guide-efc22477304499bea58500723d75d25d148cd6b6.tar.bz2 Skyblock-Dungeons-Guide-efc22477304499bea58500723d75d25d148cd6b6.zip |
- make versionmeta work
Signed-off-by: syeyoung <cyoung06@naver.com>
-rw-r--r-- | loader/build.gradle | 8 | ||||
-rwxr-xr-x | mod/src/main/java/kr/syeyoung/dungeonsguide/mod/DungeonsGuide.java | 3 | ||||
-rw-r--r-- | mod/src/main/resources/versionMeta.properties | 20 |
3 files changed, 8 insertions, 23 deletions
diff --git a/loader/build.gradle b/loader/build.gradle index 621dc88d..bf7a9e0e 100644 --- a/loader/build.gradle +++ b/loader/build.gradle @@ -135,9 +135,6 @@ tasks.named("remapJar") { input = tasks.shadowJar.archiveFile } - -tasks.assemble.dependsOn tasks.remapJar - task standaloneConsumerJar(type: Jar) { archiveClassifier = "standalone" from(zipTree(tasks.remapJar.archiveFile)) @@ -161,3 +158,8 @@ task standaloneDevJar(type: Jar) { +tasks.assemble.dependsOn tasks.remapJar + +task buildStandaloneJars {} + +tasks.buildStandaloneJars.dependsOn tasks.standaloneConsumerJar, tasks.standaloneDevJar diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/DungeonsGuide.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/DungeonsGuide.java index 3df65e42..f4ec6ec0 100755 --- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/DungeonsGuide.java +++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/DungeonsGuide.java @@ -269,6 +269,9 @@ public class DungeonsGuide implements DGInterface { VersionInfo.checkAndOpen(); + + + Minecraft.getMinecraft().refreshResources(); // Fix Parallel universe not working when player joins hypickle before dg loads diff --git a/mod/src/main/resources/versionMeta.properties b/mod/src/main/resources/versionMeta.properties deleted file mode 100644 index 4761f6c3..00000000 --- a/mod/src/main/resources/versionMeta.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Dungeons Guide - The most intelligent Hypixel Skyblock Dungeons Mod -# Copyright (C) 2023 cyoung06 (syeyoung) -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published -# by the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see <https://www.gnu.org/licenses/>. -# - -VERSION=4.0.0-beta4.0 -MANDATORY_VERSION=0
\ No newline at end of file |