aboutsummaryrefslogtreecommitdiffhomepage
path: root/Spigot-Server-Patches/0436-Dead-Player-s-shouldn-t-be-able-to-move.patch
diff options
context:
space:
mode:
authorSpottedleaf <[email protected]>2020-06-26 21:57:36 -0700
committerSpottedleaf <[email protected]>2020-06-26 21:57:36 -0700
commit654f3e9d3efd6b2d0c9c1e2d0f4c336d3494a629 (patch)
treeb0f392161bce8a529214becda81a4df329657b15 /Spigot-Server-Patches/0436-Dead-Player-s-shouldn-t-be-able-to-move.patch
parent8c0c587472e30488d6fae2e326f31e88f9688dc2 (diff)
downloadPaper-654f3e9d3efd6b2d0c9c1e2d0f4c336d3494a629.tar.gz
Paper-654f3e9d3efd6b2d0c9c1e2d0f4c336d3494a629.zip
Re-Add per player mob spawning
Diffstat (limited to 'Spigot-Server-Patches/0436-Dead-Player-s-shouldn-t-be-able-to-move.patch')
-rw-r--r--Spigot-Server-Patches/0436-Dead-Player-s-shouldn-t-be-able-to-move.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/Spigot-Server-Patches/0436-Dead-Player-s-shouldn-t-be-able-to-move.patch b/Spigot-Server-Patches/0436-Dead-Player-s-shouldn-t-be-able-to-move.patch
deleted file mode 100644
index c449e4aa8a..0000000000
--- a/Spigot-Server-Patches/0436-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/server/EntityHuman.java b/src/main/java/net/minecraft/server/EntityHuman.java
-index 5ef91da9733fd9276e7bd819a11a0548e01b17f0..2db0cfd6c32c58beadc71d4be487776500c1b8a6 100644
---- a/src/main/java/net/minecraft/server/EntityHuman.java
-+++ b/src/main/java/net/minecraft/server/EntityHuman.java
-@@ -952,7 +952,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