mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-19 22:33:48 -07:00
Probable fix for Bug #231.
This commit is contained in:
committed by
Andrew Ardill
parent
8bbb0749ef
commit
55b619a39b
@@ -80,7 +80,7 @@ public class EntityMobs extends EntityCreature implements IMobs {
|
|||||||
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 {
|
||||||
entity.a(((Entity) (this)), c);
|
entity.a(((Entity) (this)), c);
|
||||||
|
Reference in New Issue
Block a user