aboutsummaryrefslogtreecommitdiffhomepage
path: root/Spigot-Server-Patches-Unmapped/0427-Dead-Player-s-shouldn-t-be-able-to-move.patch
diff options
context:
space:
mode:
authorKyle Wood <[email protected]>2021-06-24 01:21:17 -0500
committerKyle Wood <[email protected]>2021-06-24 01:21:17 -0500
commit6ab98f8e35c9c941759ff1d15e15f66293c1983a (patch)
tree4635cf11ddcc351d65044664d17924067f373fb2 /Spigot-Server-Patches-Unmapped/0427-Dead-Player-s-shouldn-t-be-able-to-move.patch
parent216bd81bef963ff595eff88b68e9737977c40f66 (diff)
downloadPaper-6ab98f8e35c9c941759ff1d15e15f66293c1983a.tar.gz
Paper-6ab98f8e35c9c941759ff1d15e15f66293c1983a.zip
More changes for new paperweight
Diffstat (limited to 'Spigot-Server-Patches-Unmapped/0427-Dead-Player-s-shouldn-t-be-able-to-move.patch')
-rw-r--r--Spigot-Server-Patches-Unmapped/0427-Dead-Player-s-shouldn-t-be-able-to-move.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/Spigot-Server-Patches-Unmapped/0427-Dead-Player-s-shouldn-t-be-able-to-move.patch b/Spigot-Server-Patches-Unmapped/0427-Dead-Player-s-shouldn-t-be-able-to-move.patch
deleted file mode 100644
index 04592576bc..0000000000
--- a/Spigot-Server-Patches-Unmapped/0427-Dead-Player-s-shouldn-t-be-able-to-move.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Aikar <[email protected]>
-Date: Thu, 2 Apr 2020 19:31:16 -0400
-Subject: [PATCH] Dead Player's shouldn't be able to move
-
-This fixes a lot of game state issues where packets were delayed for processing
-due to 1.15's new queue but processed while dead.
-
-diff --git a/src/main/java/net/minecraft/world/entity/player/EntityHuman.java b/src/main/java/net/minecraft/world/entity/player/EntityHuman.java
-index 564dfa98c166fde509044e6e1938efb321ece53d..8981dfacd10cae9de052e1b36ce5181cd0e6752d 100644
---- a/src/main/java/net/minecraft/world/entity/player/EntityHuman.java
-+++ b/src/main/java/net/minecraft/world/entity/player/EntityHuman.java
-@@ -1049,7 +1049,7 @@ public abstract class EntityHuman extends EntityLiving {
-
- @Override
- protected boolean isFrozen() {
-- return super.isFrozen() || this.isSleeping();
-+ return super.isFrozen() || this.isSleeping() || dead || !valid; // Paper - player's who are dead or not in a world shouldn't move...
- }
-
- @Override