Skip to content
Permalink
Browse files

Removed unused code.

  • Loading branch information...
Ri5ux committed Apr 1, 2019
1 parent d1134e6 commit c73c7c6fa56bc93ee8b5377e758a87372ac4b232
Showing with 0 additions and 21 deletions.
  1. +0 −21 src/main/java/org/avp/entities/living/species/species223ode/EntityTrilobite.java
@@ -270,27 +270,6 @@ public void onUpdate()
}
}

// if (this.world.getWorldTime() % 20 == 0)
// {
// if (isFertile())
// {
// ArrayList<EntityLivingBase> targetHosts = (ArrayList<EntityLivingBase>) world.getEntitiesWithinAABB(EntityLivingBase.class, this.getEntityBoundingBox().expand(1.0D, 16.0D, 1.0D), this.getImpregnationEntitiySelector());
//
// if (targetHosts != null && targetHosts.size() > 0)
// {
// Collections.sort(targetHosts, new EntityAINearestAttackableTarget.Sorter(this));
//
// EntityLivingBase targetHost = targetHosts.get(0);
// this.setAttackTarget(targetHost);
//
// if (!targetHosts.contains(this.getAttackTarget()))
// {
// this.setAttackTarget(null);
// }
// }
// }
// }

this.handleInfertileState();
}

0 comments on commit c73c7c6

Please sign in to comment.
You can’t perform that action at this time.