SPIGOT-6442: Do not cancel zero damage on fireballs
This commit is contained in:
parent
f3ed1ac1dc
commit
6f55b5b888
@ -47,7 +47,7 @@
|
|||||||
|
|
||||||
if (entity != null) {
|
if (entity != null) {
|
||||||
+ // CraftBukkit start
|
+ // CraftBukkit start
|
||||||
+ if (CraftEventFactory.handleNonLivingEntityDamageEvent(this, damagesource, f)) {
|
+ if (CraftEventFactory.handleNonLivingEntityDamageEvent(this, damagesource, f, false)) {
|
||||||
+ return false;
|
+ return false;
|
||||||
+ }
|
+ }
|
||||||
+ // CraftBukkit end
|
+ // CraftBukkit end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user