Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this.hurtTicks = this.az;
- }
- // CraftBukkit start
- if(this instanceof EntityAnimal){
- ((EntityAnimal)this).resetLove();
- if(this instanceof EntityTameableAnimal){
- ((EntityTameableAnimal)this).getGoalSit().setSitting(false);
- }
- }
- // CraftBukkit end
- this.aA = 0.0F;
- Entity entity1 = damagesource.getEntity();
- if (entity1 != null) {
- if (entity1 instanceof EntityLiving) {
- //LINE 870 this.a((EntityLiving) entity1);
- }
- if (entity1 instanceof EntityHuman) {
- this.lastDamageByPlayerTime = 100;
- this.killer = (EntityHuman) entity1;
- } else if (entity1 instanceof EntityWolf) {
- EntityWolf entitywolf = (EntityWolf) entity1;
- if (entitywolf.isTamed()) {
- this.lastDamageByPlayerTime = 100;
- this.killer = null;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement