fix NPE in entity init (#131)

This commit is contained in:
Alexdoru authored and GitHub committed 2026-05-18 18:26:12 +02:00
1 parent 3b2b31f733
commit 306aa90a28
3 files changed
-3

No files matched your search

@@ -82,7 +82,6 @@ public class EntityBoulderFist extends EntityDemon {
protected void entityInit() {
super.entityInit();
this.dataWatcher.addObject(18, this.getHealth());
this.setCombatTask();
}
protected void playStepSound(int par1, int par2, int par3, int par4) {
@@ -82,7 +82,6 @@ public class EntitySmallEarthGolem extends EntityDemon implements IRangedAttackM
protected void entityInit() {
super.entityInit();
this.dataWatcher.addObject(18, this.getHealth());
this.setCombatTask();
}
protected void playStepSound(int par1, int par2, int par3, int par4) {
@@ -84,7 +84,6 @@ public class EntityWingedFireDemon extends EntityDemon implements IRangedAttackM
protected void entityInit() {
super.entityInit();
this.dataWatcher.addObject(18, this.getHealth());
this.setCombatTask();
}
protected void playStepSound(int par1, int par2, int par3, int par4) {