From 324bde1f10fff6860b18cab125bec4a89ec051f7 Mon Sep 17 00:00:00 2001 From: Zach Brown <1254957+zachbr@users.noreply.github.com> Date: Sun, 8 May 2016 15:33:53 -0500 Subject: [PATCH] Make beacons force secondary potion effect application Fixes GH-273 Missed case from earlier fix 29dccccac45f173577eb89dba3bc71b94b5f6614 --- Spigot-Server-Patches/Add-BeaconEffectEvent.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Spigot-Server-Patches/Add-BeaconEffectEvent.patch b/Spigot-Server-Patches/Add-BeaconEffectEvent.patch index aa409ac5b0..5f90e08220 100644 --- a/Spigot-Server-Patches/Add-BeaconEffectEvent.patch +++ b/Spigot-Server-Patches/Add-BeaconEffectEvent.patch @@ -55,7 +55,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + BeaconEffectEvent event = new BeaconEffectEvent(block, secondaryEffect, (Player) entityhuman.getBukkitEntity(), false); + if (CraftEventFactory.callEvent(event).isCancelled()) continue; + PotionEffect effect = event.getEffect(); -+ entityhuman.getBukkitEntity().addPotionEffect(effect); ++ entityhuman.getBukkitEntity().addPotionEffect(effect, true); + // Paper end } }