2021-06-11 12:02:28 +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
|
2022-11-03 21:03:31 +00:00
|
|
|
index 20a08c79d4577d0eb36ab413b36811c828f4f084..fabd0ef0bef97bc7f14d6fae18028cca0709d3a6 100644
|
2021-06-11 12:02:28 +00:00
|
|
|
--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
|
|
|
+++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
2022-09-26 08:02:51 +00:00
|
|
|
@@ -2134,6 +2134,7 @@ public class CraftWorld extends CraftRegionAccessor implements World {
|
2021-06-11 12:02:28 +00:00
|
|
|
lightning.moveTo( loc.getX(), loc.getY(), loc.getZ() );
|
|
|
|
lightning.visualOnly = true;
|
|
|
|
lightning.isSilent = isSilent;
|
|
|
|
+ world.strikeLightning( lightning );
|
|
|
|
return (LightningStrike) lightning.getBukkitEntity();
|
|
|
|
}
|
|
|
|
};
|