From f11f1f32f53315894836955220c094cb2abf99aa Mon Sep 17 00:00:00 2001 From: Prof-Bloodstone <46570876+Prof-Bloodstone@users.noreply.github.com> Date: Sat, 9 Jan 2021 12:28:28 +0100 Subject: [PATCH] Remove patch for not searching for portal creation when looking down (#5031) Previous commit bb02d0383 pulled upstream change that implements the exact same fix. CB change: https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/commits/7029c0a8f3e2a233c889ef3c558aa0f75c29bc5a Co-authored-by: Professor Bloodstone --- ...or-portal-creation-when-looking-down.patch | 23 ------------------- 1 file changed, 23 deletions(-) delete mode 100644 Spigot-Server-Patches/don-t-search-for-portal-creation-when-looking-down.patch diff --git a/Spigot-Server-Patches/don-t-search-for-portal-creation-when-looking-down.patch b/Spigot-Server-Patches/don-t-search-for-portal-creation-when-looking-down.patch deleted file mode 100644 index 1952e596bf..0000000000 --- a/Spigot-Server-Patches/don-t-search-for-portal-creation-when-looking-down.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: lukas81298 -Date: Tue, 5 Jan 2021 14:53:42 +0100 -Subject: [PATCH] don't search for portal creation when looking down - - -diff --git a/src/main/java/net/minecraft/server/BlockFireAbstract.java b/src/main/java/net/minecraft/server/BlockFireAbstract.java -index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644 ---- a/src/main/java/net/minecraft/server/BlockFireAbstract.java -+++ b/src/main/java/net/minecraft/server/BlockFireAbstract.java -@@ -0,0 +0,0 @@ public abstract class BlockFireAbstract extends Block { - break; - } - } -- -+ // Paper start - don't search for portal creation when looking down -+ if(enumdirection == EnumDirection.DOWN || enumdirection == EnumDirection.UP) { -+ return false; -+ } -+ // Paper end - return flag && BlockPortalShape.a((GeneratorAccess) world, blockposition, enumdirection.h().n()).isPresent(); - } - }