aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0256-Call-player-spectator-target-events-and-improve-impl.patch
diff options
context:
space:
mode:
authorLulu13022002 <[email protected]>2024-08-14 21:26:38 +0200
committerGitHub <[email protected]>2024-08-14 21:26:38 +0200
commit11b4ac7c659ffb7e4790b0856b14117b6d532200 (patch)
treea10c77dfa5164c1cc82d641e8f88e62f1a8d60d0 /patches/server/0256-Call-player-spectator-target-events-and-improve-impl.patch
parent9ab644ed290542a9e537d8f529bc6898a3da2e7d (diff)
downloadPaper-11b4ac7c659ffb7e4790b0856b14117b6d532200.tar.gz
Paper-11b4ac7c659ffb7e4790b0856b14117b6d532200.zip
Fix disableEndCredits world config (#11261)
Diffstat (limited to 'patches/server/0256-Call-player-spectator-target-events-and-improve-impl.patch')
-rw-r--r--patches/server/0256-Call-player-spectator-target-events-and-improve-impl.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0256-Call-player-spectator-target-events-and-improve-impl.patch b/patches/server/0256-Call-player-spectator-target-events-and-improve-impl.patch
index 17c81b197d..b29358d325 100644
--- a/patches/server/0256-Call-player-spectator-target-events-and-improve-impl.patch
+++ b/patches/server/0256-Call-player-spectator-target-events-and-improve-impl.patch
@@ -19,10 +19,10 @@ spectate the target entity.
Co-authored-by: Spottedleaf <[email protected]>
diff --git a/src/main/java/net/minecraft/server/level/ServerPlayer.java b/src/main/java/net/minecraft/server/level/ServerPlayer.java
-index ff3f70b8c266dc3b2ab374ffd6905ecbfe8510be..29dc317d43532399651719d45ca05b086043ae6b 100644
+index fa8640f961b93dc811296131dfda58faa1908add..15328d344a26f5c40011ee6ba0bc54dd5ab0b87b 100644
--- a/src/main/java/net/minecraft/server/level/ServerPlayer.java
+++ b/src/main/java/net/minecraft/server/level/ServerPlayer.java
-@@ -2183,6 +2183,21 @@ public class ServerPlayer extends net.minecraft.world.entity.player.Player {
+@@ -2182,6 +2182,21 @@ public class ServerPlayer extends net.minecraft.world.entity.player.Player {
this.camera = (Entity) (entity == null ? this : entity);
if (entity1 != this.camera) {