aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0472-Add-missing-strikeLighting-call-to-World-spigot-stri.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0472-Add-missing-strikeLighting-call-to-World-spigot-stri.patch')
-rw-r--r--patches/server/0472-Add-missing-strikeLighting-call-to-World-spigot-stri.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/patches/server/0472-Add-missing-strikeLighting-call-to-World-spigot-stri.patch b/patches/server/0472-Add-missing-strikeLighting-call-to-World-spigot-stri.patch
new file mode 100644
index 0000000000..4c6955f7fd
--- /dev/null
+++ b/patches/server/0472-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 710270775cd47e8df1146ad0636648568d45ac75..04896192121039ef6a3be103d59a9d687d7f6c05 100644
+--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
++++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
+@@ -2136,6 +2136,7 @@ public class CraftWorld extends CraftRegionAccessor implements World {
+ lightning.moveTo( loc.getX(), loc.getY(), loc.getZ() );
+ lightning.visualOnly = true;
+ lightning.isSilent = isSilent;
++ world.strikeLightning( lightning );
+ return (LightningStrike) lightning.getBukkitEntity();
+ }
+ };