13
0
geforkt von Mirrors/Paper

SPIGOT-6948: Motion from Explosion after Respawn

By: DerFrZocker <derrieple@gmail.com>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2022-05-17 19:22:58 +10:00
Ursprung ee1a8e3018
Commit 5e503c9e28

Datei anzeigen

@ -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