mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 04:09:40 +00:00
Fix gg not responding to /kill
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user