Work on demons continues.
This commit is contained in:
parent
b661d72f88
commit
ce4b571010
8 changed files with 87 additions and 26 deletions
|
@ -40,7 +40,7 @@ public class EntityDemonAIHurtByTarget extends EntityAIHurtByTarget
|
|||
TileEntity portal = this.taskOwner.worldObj.getTileEntity(portalPosition.xCoord, portalPosition.yCoord, portalPosition.zCoord);
|
||||
if(portal instanceof TEDemonPortal)
|
||||
{
|
||||
((TEDemonPortal) portal).notifyDemons(taskOwner, this.taskOwner.getAITarget());
|
||||
((TEDemonPortal) portal).notifyDemons(taskOwner, this.taskOwner.getAITarget(), 25);
|
||||
}
|
||||
|
||||
double d0 = this.getTargetDistance();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue