Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 04:50:05 +01:00
e942509e73
Co-authored-by: Jason Penilla <11360596+jpenilla@users.noreply.github.com>
20 Zeilen
937 B
Diff
20 Zeilen
937 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 08b4589c3b565db70e89aea0715e53c7c0529460..7bb0f720d3acd9b0b443446ed639b5c645aa373c 100644
|
|
--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
|
+++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
|
@@ -2675,6 +2675,7 @@ public class CraftWorld implements World {
|
|
lightning.moveTo( loc.getX(), loc.getY(), loc.getZ() );
|
|
lightning.visualOnly = true;
|
|
lightning.isSilent = isSilent;
|
|
+ world.strikeLightning( lightning );
|
|
return (LightningStrike) lightning.getBukkitEntity();
|
|
}
|
|
};
|