From 5e5e561112f42e464f1e19581a35bdad8f42e8ed Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Sun, 12 Jun 2022 23:53:18 +0100 Subject: [PATCH] Bump netty --- patches/server/Build-system-changes.patch | 9 +++++++++ patches/server/Implement-Mob-Goal-API.patch | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/patches/server/Build-system-changes.patch b/patches/server/Build-system-changes.patch index 06df6ecaf9..ec12dfa1ff 100644 --- a/patches/server/Build-system-changes.patch +++ b/patches/server/Build-system-changes.patch @@ -21,6 +21,15 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 implementation("commons-lang:commons-lang:2.6") runtimeOnly("org.xerial:sqlite-jdbc:3.36.0.3") runtimeOnly("mysql:mysql-connector-java:8.0.29") +@@ -0,0 +0,0 @@ dependencies { + + testImplementation("junit:junit:4.13.2") + testImplementation("org.hamcrest:hamcrest-library:1.3") ++ ++ implementation("io.netty:netty-all:4.1.77.Final"); // Paper - Bump netty + } + + val craftbukkitPackageVersion = "1_19_R1" // Paper @@ -0,0 +0,0 @@ tasks.jar { val gitHash = git("rev-parse", "--short=7", "HEAD").getText().trim() val implementationVersion = System.getenv("BUILD_NUMBER") ?: "\"$gitHash\"" diff --git a/patches/server/Implement-Mob-Goal-API.patch b/patches/server/Implement-Mob-Goal-API.patch index a25410bed4..ef7726e7d8 100644 --- a/patches/server/Implement-Mob-Goal-API.patch +++ b/patches/server/Implement-Mob-Goal-API.patch @@ -15,7 +15,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + testImplementation("io.github.classgraph:classgraph:4.8.47") // Paper - mob goal test testImplementation("junit:junit:4.13.2") testImplementation("org.hamcrest:hamcrest-library:1.3") - } + diff --git a/src/main/java/com/destroystokyo/paper/entity/ai/MobGoalHelper.java b/src/main/java/com/destroystokyo/paper/entity/ai/MobGoalHelper.java new file mode 100644 index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000