mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Rename revision 2
This commit is contained in:
1 parent
3c5632de31
commit
2b5a61f03d
29 files changed
+126
-126
No files matched your search
@@ -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