Guest User

Untitled

a guest
Mar 4th, 2017
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.82 KB | None | 0 0
  1.         @Override
  2.         public boolean continueExecuting()
  3.         {
  4.             if(this.player != null)
  5.             {
  6.                 if(!this.isPlayerHost(player))
  7.                 {
  8.                     return false;
  9.                 }
  10.                 else
  11.                 {
  12.                     this.human.faceEntity(player, 10.0F, 10.0F);
  13.                     return true;
  14.                 }
  15.             }
  16.             else
  17.             {
  18.                 //This parameter right here                                                                                 |
  19.                 //                                                                                                          |
  20.                 //                                                                                                         \/  
  21.                 if(this.targetEntity != null && ((EntityPlayer)this.targetEntity).isEntityAlive() && this.isPlayerHost(targetEntity))
  22.                 {
  23.                     return true;
  24.                 }
  25.                 return false;
  26.             }
  27.         }
Advertisement
Add Comment
Please, Sign In to add comment