aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorShane Freeder <[email protected]>2020-07-26 12:12:19 +0100
committerShane Freeder <[email protected]>2020-07-26 12:12:19 +0100
commit51d10c20129df28fba4b20bed0bb1792be502d4b (patch)
tree7af2c22ed39c8aabd320370e9d6dc5574d6eeee2
parenteb510c404d54a954d8685bc79021a5784a2e6f8b (diff)
downloadPaper-51d10c20129df28fba4b20bed0bb1792be502d4b.tar.gz
Paper-51d10c20129df28fba4b20bed0bb1792be502d4b.zip
Add missing strikeLighting call to World#spigot()#strikeLightningEffect
-rw-r--r--Spigot-Server-Patches/0549-Add-missing-strikeLighting-call-to-World-spigot-stri.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/Spigot-Server-Patches/0549-Add-missing-strikeLighting-call-to-World-spigot-stri.patch b/Spigot-Server-Patches/0549-Add-missing-strikeLighting-call-to-World-spigot-stri.patch
new file mode 100644
index 0000000000..9f4205bce6
--- /dev/null
+++ b/Spigot-Server-Patches/0549-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 65b36a17418ae64b6166704b3d0ecf97df1e9445..2e0a9e41400a2f11bdaee5053811871a936e922e 100644
+--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
++++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
+@@ -2604,6 +2604,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();
+ }
+ };