From 5e503c9e2832d73e923fc34250d773ae844f8275 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Tue, 17 May 2022 19:22:58 +1000 Subject: [PATCH] SPIGOT-6948: Motion from Explosion after Respawn By: DerFrZocker --- .../nms-patches/net/minecraft/server/level/EntityPlayer.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/paper-server/nms-patches/net/minecraft/server/level/EntityPlayer.patch b/paper-server/nms-patches/net/minecraft/server/level/EntityPlayer.patch index aeb8b7b73e..9d2ed1e0ad 100644 --- a/paper-server/nms-patches/net/minecraft/server/level/EntityPlayer.patch +++ b/paper-server/nms-patches/net/minecraft/server/level/EntityPlayer.patch @@ -872,7 +872,7 @@ } -@@ -1668,4 +2057,145 @@ +@@ -1668,4 +2057,146 @@ public boolean allowsListing() { return this.allowsListing; } @@ -1010,6 +1010,7 @@ + this.giveExperiencePoints(this.newExp); + } + this.keepLevel = false; ++ this.setDeltaMovement(0, 0, 0); // CraftBukkit - SPIGOT-6948: Reset velocity on death + } + + @Override