aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0212-PlayerLaunchProjectileEvent.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/0212-PlayerLaunchProjectileEvent.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/0212-PlayerLaunchProjectileEvent.patch')
-rw-r--r--patches/server/0212-PlayerLaunchProjectileEvent.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/server/0212-PlayerLaunchProjectileEvent.patch b/patches/server/0212-PlayerLaunchProjectileEvent.patch
index 73ad83abbd..b41463a06a 100644
--- a/patches/server/0212-PlayerLaunchProjectileEvent.patch
+++ b/patches/server/0212-PlayerLaunchProjectileEvent.patch
@@ -5,7 +5,7 @@ Subject: [PATCH] PlayerLaunchProjectileEvent
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 fd8afa4b12d66d1e0a789cef41ca77c45c64e2e8..d29d58fd9879d69a7d3fd7cbcad8cc31c89fa679 100644
+index f8ae12a3540c4a7aa7e2c1656cbd866e33e11f57..d6dfda0580d919eb8a000113e7f9dd9794117b45 100644
--- a/src/main/java/net/minecraft/world/entity/projectile/Projectile.java
+++ b/src/main/java/net/minecraft/world/entity/projectile/Projectile.java
@@ -197,7 +197,12 @@ public abstract class Projectile extends Entity implements TraceableEntity {