mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 19:34:09 +01:00
SPIGOT-6075: Snowballs don't destroy Ender Crystals
By: Parker Hawke <hawkeboyz2@hotmail.com>
This commit is contained in:
parent
6513713dff
commit
5d4868ed96
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@
|
|||
} else {
|
||||
if (!this.dead && !this.world.isClientSide) {
|
||||
+ // CraftBukkit start - All non-living entities need this
|
||||
+ if (CraftEventFactory.handleNonLivingEntityDamageEvent(this, damagesource, f)) {
|
||||
+ if (CraftEventFactory.handleNonLivingEntityDamageEvent(this, damagesource, f, false)) {
|
||||
+ return false;
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
|
|
Loading…
Reference in a new issue