diff --git a/Spigot-Server-Patches/0645-don-t-search-for-portal-creation-when-looking-down.patch b/Spigot-Server-Patches/0645-don-t-search-for-portal-creation-when-looking-down.patch new file mode 100644 index 000000000..ca1cad0ce --- /dev/null +++ b/Spigot-Server-Patches/0645-don-t-search-for-portal-creation-when-looking-down.patch @@ -0,0 +1,23 @@ +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 172e4b3eeecc3808a335b80bb44bc6be3d8dd33d..5727b6f8d94040868ba752ea186b8e8995e189b6 100644 +--- a/src/main/java/net/minecraft/server/BlockFireAbstract.java ++++ b/src/main/java/net/minecraft/server/BlockFireAbstract.java +@@ -109,7 +109,11 @@ 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(); + } + }