From a28f80090ec6bd48069cac782382d4ea9ea012a8 Mon Sep 17 00:00:00 2001 From: Aikar Date: Wed, 24 Jun 2020 04:38:17 -0400 Subject: [PATCH] Initial prep for 1.16 Remove patcehs we know need to go add comment on one im not sure should be dropped go ahead and fix patched repos to turn off gpg signing, as this helps rebase/apply --continue commands not suck. Go ahead and prep the pom file change --- Spigot-API-Patches/0001-POM-changes.patch | 2 +- Spigot-Server-Patches/0001-POM-Changes.patch | 4 ++-- Spigot-Server-Patches/0402-Fix-MC-161754.patch | 2 +- .../0401-Fix-zero-tick-instant-grow-farms-MC-113809.patch | 0 ...0468-Port-20w15a-Villager-AI-optimizations-DROP-1.16.patch | 0 scripts/applyPatches.sh | 1 + 6 files changed, 5 insertions(+), 4 deletions(-) rename {Spigot-Server-Patches => removed/1.16}/0401-Fix-zero-tick-instant-grow-farms-MC-113809.patch (100%) rename {Spigot-Server-Patches => removed/1.16}/0468-Port-20w15a-Villager-AI-optimizations-DROP-1.16.patch (100%) diff --git a/Spigot-API-Patches/0001-POM-changes.patch b/Spigot-API-Patches/0001-POM-changes.patch index 52950142e8..c6e0fac177 100644 --- a/Spigot-API-Patches/0001-POM-changes.patch +++ b/Spigot-API-Patches/0001-POM-changes.patch @@ -22,7 +22,7 @@ index 186405ba1914b2b384896c61770c225b50091401..9975ba9ae19f6217bec206fee247fac1 - spigot-api + com.destroystokyo.paper + paper-api - 1.15.2-R0.1-SNAPSHOT + 1.16-R0.1-SNAPSHOT jar - Spigot-API diff --git a/Spigot-Server-Patches/0001-POM-Changes.patch b/Spigot-Server-Patches/0001-POM-Changes.patch index d0e2a70921..e88b4595f9 100644 --- a/Spigot-Server-Patches/0001-POM-Changes.patch +++ b/Spigot-Server-Patches/0001-POM-Changes.patch @@ -16,7 +16,7 @@ index 9fc92e347f24a0210a9190513e93cba3b6772557..3554314526b3f33ad02df2adfd42d451 - spigot + paper jar - 1.15.2-R0.1-SNAPSHOT + 1.16-R0.1-SNAPSHOT - Spigot - https://www.spigotmc.org/ + Paper @@ -27,7 +27,7 @@ index 9fc92e347f24a0210a9190513e93cba3b6772557..3554314526b3f33ad02df2adfd42d451 + UTF-8 unknown - 1.15.2 + 1.16 @@ -19,16 +18,22 @@ diff --git a/Spigot-Server-Patches/0402-Fix-MC-161754.patch b/Spigot-Server-Patches/0402-Fix-MC-161754.patch index 9ba10c6d76..4e725ed021 100644 --- a/Spigot-Server-Patches/0402-Fix-MC-161754.patch +++ b/Spigot-Server-Patches/0402-Fix-MC-161754.patch @@ -17,7 +17,7 @@ index c95ce0124d948626732e796c386b7544e34b36c4..18e1ae7f0a4b06ec7d7400e791ac79e5 @Override public boolean canUse(EntityHuman entityhuman) { - return this.c.a(entityhuman) && this.d.isAlive() && this.d.g((Entity) entityhuman) < 8.0F; -+ return this.c.a(entityhuman) && (this.d.isAlive() && this.d.valid) && this.d.g((Entity) entityhuman) < 8.0F; // Paper - Fix MC-161754 ++ return this.c.a(entityhuman) && (this.d.isAlive() && this.d.valid) && this.d.g((Entity) entityhuman) < 8.0F; // Paper - Fix MC-161754 - evaluate we might still want this in 1.16 as im not confident mojang fixed this, and made it worse } @Override diff --git a/Spigot-Server-Patches/0401-Fix-zero-tick-instant-grow-farms-MC-113809.patch b/removed/1.16/0401-Fix-zero-tick-instant-grow-farms-MC-113809.patch similarity index 100% rename from Spigot-Server-Patches/0401-Fix-zero-tick-instant-grow-farms-MC-113809.patch rename to removed/1.16/0401-Fix-zero-tick-instant-grow-farms-MC-113809.patch diff --git a/Spigot-Server-Patches/0468-Port-20w15a-Villager-AI-optimizations-DROP-1.16.patch b/removed/1.16/0468-Port-20w15a-Villager-AI-optimizations-DROP-1.16.patch similarity index 100% rename from Spigot-Server-Patches/0468-Port-20w15a-Villager-AI-optimizations-DROP-1.16.patch rename to removed/1.16/0468-Port-20w15a-Villager-AI-optimizations-DROP-1.16.patch diff --git a/scripts/applyPatches.sh b/scripts/applyPatches.sh index e4c073fda2..e700fde80b 100755 --- a/scripts/applyPatches.sh +++ b/scripts/applyPatches.sh @@ -39,6 +39,7 @@ function applyPatch { statusfile=".git/patch-apply-failed" rm -f "$statusfile" + git config commit.gpgsign false $gitcmd am --abort >/dev/null 2>&1 # Special case Windows handling because of ARG_MAX constraint