mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-20 22:18:58 +01:00
Fixed melee knockback/sheep shearing
This commit is contained in:
parent
80a59397cb
commit
95cb03b50e
1 changed files with 1 additions and 1 deletions
|
@ -345,7 +345,7 @@ public abstract class EntityPlayer extends EntityLiving {
|
||||||
server.getPluginManager().callEvent(edbee);
|
server.getPluginManager().callEvent(edbee);
|
||||||
|
|
||||||
if (!edbee.isCancelled()){
|
if (!edbee.isCancelled()){
|
||||||
entity.a(((Entity) (null)), edbee.getDamage());
|
entity.a(((Entity) this), edbee.getDamage());
|
||||||
} else {
|
} else {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue