mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-15 15:15:14 +01:00
4e958e229f
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com> Co-authored-by: zml <zml@stellardrift.ca> Co-authored-by: Mariell Hoversholm <proximyst@proximyst.com>
20 lines
944 B
Diff
20 lines
944 B
Diff
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
|
|
index 10697f8b5208a72bf3d7248c5abd73ddd10420cd..f3aab5be1722651a27bb48a33618650b807d4e07 100644
|
|
--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
|
+++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
|
@@ -2609,6 +2609,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();
|
|
}
|
|
};
|