Fix gg not responding to /kill

This commit is contained in:
Vincent Lee committed 2018-08-22 12:15:13 -05:00
1 parent c177cda9e2
commit 99e8d6a70c
1 file changed
+5
@@ -364,6 +364,11 @@ public class EntityDoppleganger extends EntityLiving implements IBotaniaBoss, IE
}
}
@Override
public void onKillCommand() {
this.setHealth(0.0F);
}
@Override
public boolean attackEntityFrom(@Nonnull DamageSource source, float par2) {
Entity e = source.getTrueSource();