Bump forge version.

Loads now, though Forge prod client/server still don't run.
This commit is contained in:
wizjany 2021-11-30 17:23:49 -05:00
parent f534b61f30
commit 7b4e2c28af
2 changed files with 4 additions and 3 deletions

View File

@ -8,14 +8,14 @@
`java-library`
}
applyPlatformAndCoreConfiguration(javaRelease = 16)
applyPlatformAndCoreConfiguration(javaRelease = 17)
applyShadowConfiguration()
val minecraftVersion = "1.18"
val nextMajorMinecraftVersion: String = minecraftVersion.split('.').let { (useless, major) ->
"$useless.${major.toInt() + 1}"
}
val forgeVersion = "38.0.0"
val forgeVersion = "38.0.1"
dependencies {
"api"(project(":worldedit-core"))
@ -61,6 +61,7 @@
javaComponent.withVariantsFromConfiguration(configurations["runtimeElements"]) {
skip()
}
tasks.register<Jar>("deobfJar") {
from(sourceSets["main"].output)
archiveClassifier.set("dev")

View File

@ -90,7 +90,7 @@ public Registries getRegistries() {
@Override
public int getDataVersion() {
return SharedConstants.getCurrentVersion().getWorldVersion();
return SharedConstants.getCurrentVersion().getDataVersion().getVersion();
}
@Override