mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-04 02:01:44 +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);
|
||||
|
||||
if (!edbee.isCancelled()){
|
||||
entity.a(((Entity) (null)), edbee.getDamage());
|
||||
entity.a(((Entity) this), edbee.getDamage());
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue