SPIGOT-6948: Motion from Explosion after Respawn
This commit is contained in:
parent
f3c7a6ac7a
commit
518f1beed0
@ -872,7 +872,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1668,4 +2057,145 @@
|
@@ -1668,4 +2057,146 @@
|
||||||
public boolean allowsListing() {
|
public boolean allowsListing() {
|
||||||
return this.allowsListing;
|
return this.allowsListing;
|
||||||
}
|
}
|
||||||
@ -1010,6 +1010,7 @@
|
|||||||
+ this.giveExperiencePoints(this.newExp);
|
+ this.giveExperiencePoints(this.newExp);
|
||||||
+ }
|
+ }
|
||||||
+ this.keepLevel = false;
|
+ this.keepLevel = false;
|
||||||
|
+ this.setDeltaMovement(0, 0, 0); // CraftBukkit - SPIGOT-6948: Reset velocity on death
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ @Override
|
+ @Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user