3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-18 20:40:08 +01:00

The dead are not meant to walk. Fixes BUKKIT-95. Thanks Evenprime!

Dieser Commit ist enthalten in:
EvilSeph 2011-12-12 12:50:10 -05:00
Ursprung b653ce3c1c
Commit bd181fa04e

Datei anzeigen

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