Fix SoundEffects only to players diff (#10966)

Co-authored-by: Nassim Jahnke <nassim@njahnke.dev>
This commit is contained in:
scarfacered 2024-06-23 16:03:32 -04:00 committed by GitHub
parent 812701d901
commit 19eefe9321
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 49 additions and 82 deletions

View file

@ -6,7 +6,7 @@ Subject: [PATCH] Configurable sprint interruption on attack
If the sprint interruption is disabled players continue sprinting when they attack entities.
diff --git a/src/main/java/net/minecraft/world/entity/player/Player.java b/src/main/java/net/minecraft/world/entity/player/Player.java
index 92ff2ccfbcc554281a70337a0a759bf6f2e2bca0..b85838c24c94b282f1f0fe55fa20a2c1f80363a6 100644
index d365fd0fa03a773b21b64f0a84a8b2d83a740845..8977aaa75b287cbd13ed18a5ee5ba950fcd738e6 100644
--- a/src/main/java/net/minecraft/world/entity/player/Player.java
+++ b/src/main/java/net/minecraft/world/entity/player/Player.java
@@ -1306,7 +1306,11 @@ public abstract class Player extends LivingEntity {