mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 03:35:51 -07:00
Rename revision 2
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user