aboutsummaryrefslogtreecommitdiffhomepage
path: root/Spigot-Server-Patches-Unmapped/0537-Add-missing-strikeLighting-call-to-World-spigot-stri.patch
diff options
context:
space:
mode:
authorKyle Wood <[email protected]>2021-04-24 17:01:33 -0500
committerKyle Wood <[email protected]>2021-04-25 18:37:43 -0500
commit3093b81fee3064603c368ab934eddf66ce304433 (patch)
treecb99f05b5f31de92c41af4cc40b4bef5f3cbf573 /Spigot-Server-Patches-Unmapped/0537-Add-missing-strikeLighting-call-to-World-spigot-stri.patch
parent1af696a05d21cbdd7b5a7170f95598c013257588 (diff)
downloadPaper-3093b81fee3064603c368ab934eddf66ce304433.tar.gz
Paper-3093b81fee3064603c368ab934eddf66ce304433.zip
Move patches
Diffstat (limited to 'Spigot-Server-Patches-Unmapped/0537-Add-missing-strikeLighting-call-to-World-spigot-stri.patch')
-rw-r--r--Spigot-Server-Patches-Unmapped/0537-Add-missing-strikeLighting-call-to-World-spigot-stri.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/Spigot-Server-Patches-Unmapped/0537-Add-missing-strikeLighting-call-to-World-spigot-stri.patch b/Spigot-Server-Patches-Unmapped/0537-Add-missing-strikeLighting-call-to-World-spigot-stri.patch
new file mode 100644
index 0000000000..da0f3139d8
--- /dev/null
+++ b/Spigot-Server-Patches-Unmapped/0537-Add-missing-strikeLighting-call-to-World-spigot-stri.patch
@@ -0,0 +1,19 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Shane Freeder <[email protected]>
+Date: Sun, 26 Jul 2020 12:11:39 +0100
+Subject: [PATCH] Add missing strikeLighting call to
+ World#spigot()#strikeLightningEffect
+
+
+diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
+index 03761fd7367e184c808f4ef55bdef0838f7427b0..68445b7f32d2cf4c199666a732a36e02459a7b60 100644
+--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
++++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
+@@ -2627,6 +2627,7 @@ public class CraftWorld implements World {
+ lightning.teleportAndSync( loc.getX(), loc.getY(), loc.getZ() );
+ lightning.isEffect = true;
+ lightning.isSilent = isSilent;
++ world.strikeLightning( lightning );
+ return (LightningStrike) lightning.getBukkitEntity();
+ }
+ };