2020-07-26 13:12:19 +02: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
|
2020-11-26 00:49:06 +01:00
|
|
|
index 24546615dcd9b4f5fa140137ff59d8efe9e3b52f..e50a16991cf3f5df04c9410b211a13c33bbe91d1 100644
|
2020-07-26 13:12:19 +02:00
|
|
|
--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
|
|
|
+++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
2020-11-26 00:49:06 +01:00
|
|
|
@@ -2609,6 +2609,7 @@ public class CraftWorld implements World {
|
2020-07-26 13:12:19 +02:00
|
|
|
lightning.teleportAndSync( loc.getX(), loc.getY(), loc.getZ() );
|
|
|
|
lightning.isEffect = true;
|
|
|
|
lightning.isSilent = isSilent;
|
|
|
|
+ world.strikeLightning( lightning );
|
|
|
|
return (LightningStrike) lightning.getBukkitEntity();
|
|
|
|
}
|
|
|
|
};
|