3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-19 21:10:10 +01:00

Fixed EnderDragon not dealing damage after it has been hit. Fixes BUKKIT-1751

Dieser Commit ist enthalten in:
EvilSeph 2012-06-12 16:30:04 -04:00
Ursprung 0f23a4fe23
Commit b7827c4d22

Datei anzeigen

@ -282,7 +282,7 @@ public class EntityEnderDragon extends EntityComplex {
this.C();
}
if (!this.world.isStatic && this.at == 0) {
if (!this.world.isStatic && this.hurtTicks == 0) { // CraftBukkit
this.a(this.world.getEntities(this, this.l.boundingBox.grow(4.0D, 2.0D, 4.0D).d(0.0D, -2.0D, 0.0D)));
this.a(this.world.getEntities(this, this.m.boundingBox.grow(4.0D, 2.0D, 4.0D).d(0.0D, -2.0D, 0.0D)));
this.b(this.world.getEntities(this, this.g.boundingBox.grow(1.0D, 1.0D, 1.0D)));