mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 23:38:25 +01:00
Remove patch for not searching for portal creation when looking down (#5031)
Previous commitbb02d0383
pulled upstream change that implements the exact same fix. CB change:7029c0a8f3
Co-authored-by: Professor Bloodstone <git@bloodstone.dev>
This commit is contained in:
parent
bb02d0383a
commit
f11f1f32f5
1 changed files with 0 additions and 23 deletions
|
@ -1,23 +0,0 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: lukas81298 <lukas81298@gmail.com>
|
||||
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();
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue