Skip to content

Commit 96cd07b

Browse files
committed
We're 1.20.4 now
1 parent 34a8c73 commit 96cd07b

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ rootProject.name = "worldedit"
22

33
include("worldedit-libs")
44

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

worldedit-bukkit/adapters/adapter-1.20.3/build.gradle.kts renamed to worldedit-bukkit/adapters/adapter-1.20.4/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ applyPaperweightAdapterConfiguration()
44

55
dependencies {
66
// https://repo.papermc.io/service/rest/repository/browse/maven-public/io/papermc/paper/dev-bundle/
7-
the<PaperweightUserDependenciesExtension>().paperDevBundle("1.20.3-R0.1-20231207.043048-3")
7+
the<PaperweightUserDependenciesExtension>().paperDevBundle("1.20.4-R0.1-20231207.202833-1")
88
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ public PaperweightAdapter() throws NoSuchFieldException, NoSuchMethodException {
180180
CraftServer.class.cast(Bukkit.getServer());
181181

182182
int dataVersion = CraftMagicNumbers.INSTANCE.getDataVersion();
183-
if (dataVersion != 3698) {
184-
throw new UnsupportedClassVersionError("Not 1.20.3!");
183+
if (dataVersion != 3698 && dataVersion != 3700) {
184+
throw new UnsupportedClassVersionError("Not 1.20.(3/4)!");
185185
}
186186

187187
serverWorldsField = CraftServer.class.getDeclaredField("worlds");

worldedit-fabric/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ applyShadowConfiguration()
2222
apply(plugin = "fabric-loom")
2323
apply(plugin = "java-library")
2424

25-
val minecraftVersion = "1.20.3"
26-
val loaderVersion = "0.15.0"
25+
val minecraftVersion = "1.20.4"
26+
val loaderVersion = "0.15.1"
2727

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

@@ -64,7 +64,7 @@ dependencies {
6464
.toSet()
6565
// [2] Request the matching dependency from fabric-loom
6666
for (wantedDependency in wantedDependencies) {
67-
val dep = project.the<FabricApiExtension>().module(wantedDependency, "0.91.1+1.20.3")
67+
val dep = project.the<FabricApiExtension>().module(wantedDependency, "0.91.1+1.20.4")
6868
"include"(dep)
6969
"modImplementation"(dep)
7070
}

worldedit-forge/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ plugins {
1212
applyPlatformAndCoreConfiguration(javaRelease = 17)
1313
applyShadowConfiguration()
1414

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

2121
val apiClasspath = configurations.create("apiClasspath") {
2222
isCanBeResolved = true

0 commit comments

Comments
 (0)