From 419018f5d3b821f35ca7c5ec7b8d9d399ae56198 Mon Sep 17 00:00:00 2001 From: Parker Hawke Date: Mon, 17 Aug 2020 18:55:38 +1000 Subject: [PATCH] SPIGOT-6075: Snowballs don't destroy Ender Crystals --- nms-patches/EntityEnderCrystal.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nms-patches/EntityEnderCrystal.patch b/nms-patches/EntityEnderCrystal.patch index 099a8042fe..a8997bc4e2 100644 --- a/nms-patches/EntityEnderCrystal.patch +++ b/nms-patches/EntityEnderCrystal.patch @@ -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