Skip to content

Commit

Permalink
We're 1.20.4 now
Browse files Browse the repository at this point in the history
  • Loading branch information
me4502 committed Dec 8, 2023
1 parent 34a8c73 commit 96cd07b
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ rootProject.name = "worldedit"

include("worldedit-libs")

listOf("legacy", "1.17.1", "1.18.2", "1.19.4", "1.20", "1.20.2", "1.20.3").forEach {
listOf("legacy", "1.17.1", "1.18.2", "1.19.4", "1.20", "1.20.2", "1.20.4").forEach {
include("worldedit-bukkit:adapters:adapter-$it")
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ applyPaperweightAdapterConfiguration()

dependencies {
// https://repo.papermc.io/service/rest/repository/browse/maven-public/io/papermc/paper/dev-bundle/
the<PaperweightUserDependenciesExtension>().paperDevBundle("1.20.3-R0.1-20231207.043048-3")
the<PaperweightUserDependenciesExtension>().paperDevBundle("1.20.4-R0.1-20231207.202833-1")
}
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ public PaperweightAdapter() throws NoSuchFieldException, NoSuchMethodException {
CraftServer.class.cast(Bukkit.getServer());

int dataVersion = CraftMagicNumbers.INSTANCE.getDataVersion();
if (dataVersion != 3698) {
throw new UnsupportedClassVersionError("Not 1.20.3!");
if (dataVersion != 3698 && dataVersion != 3700) {
throw new UnsupportedClassVersionError("Not 1.20.(3/4)!");
}

serverWorldsField = CraftServer.class.getDeclaredField("worlds");
Expand Down
6 changes: 3 additions & 3 deletions worldedit-fabric/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ applyShadowConfiguration()
apply(plugin = "fabric-loom")
apply(plugin = "java-library")

val minecraftVersion = "1.20.3"
val loaderVersion = "0.15.0"
val minecraftVersion = "1.20.4"
val loaderVersion = "0.15.1"

val fabricApiConfiguration: Configuration = configurations.create("fabricApi")

Expand Down Expand Up @@ -64,7 +64,7 @@ dependencies {
.toSet()
// [2] Request the matching dependency from fabric-loom
for (wantedDependency in wantedDependencies) {
val dep = project.the<FabricApiExtension>().module(wantedDependency, "0.91.1+1.20.3")
val dep = project.the<FabricApiExtension>().module(wantedDependency, "0.91.1+1.20.4")
"include"(dep)
"modImplementation"(dep)
}
Expand Down
4 changes: 2 additions & 2 deletions worldedit-forge/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ plugins {
applyPlatformAndCoreConfiguration(javaRelease = 17)
applyShadowConfiguration()

val minecraftVersion = "1.20.3"
val minecraftVersion = "1.20.4"
val nextMajorMinecraftVersion: String = minecraftVersion.split('.').let { (useless, major) ->
"$useless.${major.toInt() + 1}"
}
val forgeVersion = "49.0.2"
val forgeVersion = "49.0.3"

val apiClasspath = configurations.create("apiClasspath") {
isCanBeResolved = true
Expand Down

0 comments on commit 96cd07b

Please sign in to comment.