Advertisement
Guest User

Untitled

a guest
Feb 14th, 2017
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. this.hurtTicks = this.az;
  2. }
  3.  
  4. // CraftBukkit start
  5. if(this instanceof EntityAnimal){
  6. ((EntityAnimal)this).resetLove();
  7. if(this instanceof EntityTameableAnimal){
  8. ((EntityTameableAnimal)this).getGoalSit().setSitting(false);
  9. }
  10. }
  11. // CraftBukkit end
  12.  
  13. this.aA = 0.0F;
  14. Entity entity1 = damagesource.getEntity();
  15.  
  16. if (entity1 != null) {
  17. if (entity1 instanceof EntityLiving) {
  18. //LINE 870 this.a((EntityLiving) entity1);
  19. }
  20.  
  21. if (entity1 instanceof EntityHuman) {
  22. this.lastDamageByPlayerTime = 100;
  23. this.killer = (EntityHuman) entity1;
  24. } else if (entity1 instanceof EntityWolf) {
  25. EntityWolf entitywolf = (EntityWolf) entity1;
  26.  
  27. if (entitywolf.isTamed()) {
  28. this.lastDamageByPlayerTime = 100;
  29. this.killer = null;
  30. }
  31. }
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement