2020-07-26 11:12:19 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Shane Freeder <theboyetronic@gmail.com>
|
|
|
|
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
|
2021-03-28 08:42:30 +00:00
|
|
|
index 611f53f52b4f2d831920df40d48b8bbc61326f1b..4a5027d6fbd6c68d0e3b43f74afdd49ffa22188c 100644
|
2020-07-26 11:12:19 +00:00
|
|
|
--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
|
|
|
+++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
2021-03-28 08:42:30 +00:00
|
|
|
@@ -2633,6 +2633,7 @@ public class CraftWorld implements World {
|
2020-07-26 11:12:19 +00:00
|
|
|
lightning.teleportAndSync( loc.getX(), loc.getY(), loc.getZ() );
|
|
|
|
lightning.isEffect = true;
|
|
|
|
lightning.isSilent = isSilent;
|
|
|
|
+ world.strikeLightning( lightning );
|
|
|
|
return (LightningStrike) lightning.getBukkitEntity();
|
|
|
|
}
|
|
|
|
};
|