diff options
Diffstat (limited to 'patches/server/0460-Add-missing-strikeLighting-call-to-World-spigot-stri.patch')
-rw-r--r-- | patches/server/0460-Add-missing-strikeLighting-call-to-World-spigot-stri.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/patches/server/0460-Add-missing-strikeLighting-call-to-World-spigot-stri.patch b/patches/server/0460-Add-missing-strikeLighting-call-to-World-spigot-stri.patch new file mode 100644 index 0000000000..15a24cf922 --- /dev/null +++ b/patches/server/0460-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 d83ea6113d3f2f7aaeac6e09473282434ec2fc67..8a5967b5e4196d1df1aacb28ccefadb7863b75a5 100644 +--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java ++++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +@@ -2134,6 +2134,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(); + } + }; |