mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-08 16:41:47 +01:00
SPIGOT-6075: Snowballs don't destroy Ender Crystals
This commit is contained in:
parent
fa917c4723
commit
419018f5d3
@ -30,7 +30,7 @@
|
|||||||
} else {
|
} else {
|
||||||
if (!this.dead && !this.world.isClientSide) {
|
if (!this.dead && !this.world.isClientSide) {
|
||||||
+ // CraftBukkit start - All non-living entities need this
|
+ // CraftBukkit start - All non-living entities need this
|
||||||
+ if (CraftEventFactory.handleNonLivingEntityDamageEvent(this, damagesource, f)) {
|
+ if (CraftEventFactory.handleNonLivingEntityDamageEvent(this, damagesource, f, false)) {
|
||||||
+ return false;
|
+ return false;
|
||||||
+ }
|
+ }
|
||||||
+ // CraftBukkit end
|
+ // CraftBukkit end
|
||||||
|
Loading…
Reference in New Issue
Block a user