aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0291-Configurable-projectile-relative-velocity.patch
diff options
context:
space:
mode:
authorJason Penilla <[email protected]>2024-10-27 12:49:06 -0700
committerJason Penilla <[email protected]>2024-10-27 12:52:47 -0700
commitdb9d12792fbe40dc56ea2e02d8d563dc128539f2 (patch)
tree4331d3733806e884d3da95882db952e71a88ba7c /patches/server/0291-Configurable-projectile-relative-velocity.patch
parent29bf7beba9a16467abc7d901d92c08130c18a9f5 (diff)
downloadPaper-db9d12792fbe40dc56ea2e02d8d563dc128539f2.tar.gz
Paper-db9d12792fbe40dc56ea2e02d8d563dc128539f2.zip
Allow using old ender pearl behavior & apply ender pearl exploit patch1.21.3-legacy-ender-pearls
When enabled, ender pearls will not load chunks and will save to the world instead of the player. Also changes the exploit config to be default false, as it only makes sense when legacy behavior is enabled.
Diffstat (limited to 'patches/server/0291-Configurable-projectile-relative-velocity.patch')
-rw-r--r--patches/server/0291-Configurable-projectile-relative-velocity.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/server/0291-Configurable-projectile-relative-velocity.patch b/patches/server/0291-Configurable-projectile-relative-velocity.patch
index c2d2345882..93e1cc2d7d 100644
--- a/patches/server/0291-Configurable-projectile-relative-velocity.patch
+++ b/patches/server/0291-Configurable-projectile-relative-velocity.patch
@@ -25,7 +25,7 @@ P3) Solutions for 1) and especially 2) might not be future-proof, while this
server-internal fix makes this change future-proof.
diff --git a/src/main/java/net/minecraft/world/entity/projectile/Projectile.java b/src/main/java/net/minecraft/world/entity/projectile/Projectile.java
-index e21b9a34d07fcd75f9c470074c545862d0aa9363..09d1131c7f2b32b6c032341a60521608b098c109 100644
+index 80637835a35dbfd7c7458b246ddee9d836e5101a..0e4ba92d97998937ccb83ebd60aaad3fb68f7546 100644
--- a/src/main/java/net/minecraft/world/entity/projectile/Projectile.java
+++ b/src/main/java/net/minecraft/world/entity/projectile/Projectile.java
@@ -192,8 +192,11 @@ public abstract class Projectile extends Entity implements TraceableEntity {