This repository was archived by the owner on Dec 30, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed
kotlin/xyz/deathsgun/modmanager/update Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 13
13
# See the License for the specific language governing permissions and
14
14
# limitations under the License.
15
15
#
16
-
17
16
# Done to increase the memory available to gradle.
18
17
org.gradle.jvmargs =-Xms2G -Xmx4G
19
-
20
18
# Fabric Properties
21
19
# check this on https://modmuss50.me/fabric.html
22
20
minecraft_version =1.17.1
23
- yarn_mappings =1.17.1+build.39
24
- loader_version =0.11.6
21
+ yarn_mappings =1.17.1+build.61
22
+ loader_version =0.12.1
25
23
# Mod Properties
26
24
mod_version =1.1.1-alpha+1.17
27
25
maven_group =xyz.deathsgun
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ package xyz.deathsgun.modmanager.update
18
18
19
19
import net.fabricmc.loader.api.SemanticVersion
20
20
import net.fabricmc.loader.api.VersionParsingException
21
- import net.fabricmc.loader.util.version.VersionDeserializer
22
21
import xyz.deathsgun.modmanager.api.mod.Version
23
22
import xyz.deathsgun.modmanager.config.Config
24
23
@@ -52,9 +51,9 @@ object VersionFinder {
52
51
.filter { it.gameVersions.any { it1 -> it1.startsWith(mcVersion) } }
53
52
var latestVersion: Version ? = null
54
53
var latestVer: SemanticVersion ? = null
55
- val installedVer = VersionDeserializer .deserializeSemantic (installedVersion)
54
+ val installedVer = SemanticVersion .parse (installedVersion)
56
55
for (version in versions) {
57
- val parsedVersion = VersionDeserializer .deserializeSemantic (version.version)
56
+ val parsedVersion = SemanticVersion .parse (version.version)
58
57
if (latestVersion == null ) {
59
58
latestVersion = version
60
59
latestVer = parsedVersion
Original file line number Diff line number Diff line change 35
35
" modmanager.mixins.json"
36
36
],
37
37
"depends" : {
38
- "fabricloader" : " >=0.11.3 " ,
38
+ "fabricloader" : " >=0.12 " ,
39
39
"modmenu" : " >=${modmenu_version}" ,
40
40
"fabric-language-kotlin" : " >=${fabric_kotlin_version}" ,
41
41
"minecraft" : " 1.17.x" ,
You can’t perform that action at this time.
0 commit comments