-
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a8897bd
commit 91ab4ed
Showing
2 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
patches/server/0132-Fix-FallingBlockEntity-Duplicate.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: violetc <[email protected]> | ||
Date: Wed, 31 Jul 2024 12:51:44 +0800 | ||
Subject: [PATCH] Fix FallingBlockEntity Duplicate | ||
|
||
|
||
diff --git a/src/main/java/net/minecraft/world/entity/item/FallingBlockEntity.java b/src/main/java/net/minecraft/world/entity/item/FallingBlockEntity.java | ||
index b83be9bbb9f348da83c0fd1ecc7f65c8a58b45b9..e38f588e3043320a9c135e03f506a00924ed58b8 100644 | ||
--- a/src/main/java/net/minecraft/world/entity/item/FallingBlockEntity.java | ||
+++ b/src/main/java/net/minecraft/world/entity/item/FallingBlockEntity.java | ||
@@ -419,7 +419,7 @@ public class FallingBlockEntity extends Entity { | ||
boolean flag = (resourcekey1 == Level.END || resourcekey == Level.END) && resourcekey1 != resourcekey; | ||
Entity entity = super.changeDimension(teleportTarget); | ||
|
||
- this.forceTickAfterTeleportToDuplicate = entity != null && flag && io.papermc.paper.configuration.GlobalConfiguration.get().unsupportedSettings.allowUnsafeEndPortalTeleportation; // Paper | ||
+ this.forceTickAfterTeleportToDuplicate = entity != null && flag; // Paper // Leaves | ||
return entity; | ||
} | ||
} |