Rename revision 2

This commit is contained in:
Dinnerbone
2011-09-15 17:36:27 +01:00
parent 3c5632de31
commit 2b5a61f03d
29 changed files with 126 additions and 126 deletions

View File

@@ -237,7 +237,7 @@ public class EntityWolf extends EntityAnimal {
}
public boolean damageEntity(DamageSource damagesource, int i) {
Entity entity = damagesource.a();
Entity entity = damagesource.getEntity();
this.setSitting(false);
if (entity != null && !(entity instanceof EntityHuman) && !(entity instanceof EntityArrow)) {
@@ -345,7 +345,7 @@ public class EntityWolf extends EntityAnimal {
}
// CraftBukkit end
entity.damageEntity(DamageSource.a((EntityLiving) this), b0);
entity.damageEntity(DamageSource.mobAttack(this), b0);
}
}