mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-05 18:27:17 +01:00
The dead are not meant to walk. Fixes BUKKIT-95. Thanks Evenprime!
This commit is contained in:
parent
b653ce3c1c
commit
bd181fa04e
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ public abstract class EntityLiving extends Entity {
|
|||
|
||||
protected void ag() {
|
||||
++this.deathTicks;
|
||||
if (this.deathTicks == 20) {
|
||||
if (this.deathTicks >= 20 && !this.dead) { // CraftBukkit - (this.deathTicks == 20) -> (this.deathTicks >= 20 && !this.dead).
|
||||
int i;
|
||||
|
||||
// CraftBukkit start - update getExpReward() above if the removed if() changes!
|
||||
|
|
Loading…
Reference in a new issue