mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-02 05:31:28 +01:00
SPIGOT-6075: Snowballs don't destroy Ender Crystals
This commit is contained in:
parent
fa917c4723
commit
419018f5d3
@ -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 New Issue
Block a user