Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-15 04:20:04 +01:00
4104545b11
"It was from a different time before books were as jank as they are now. As time has gone on they've only proven to be worse and worse."
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 6e1f8323d028790d1f55d51edb3214d0161a0072..6c5b6a5f1b9ee3fb5a6bae4d57c70cfcaba75624 100644
|
|
--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
|
+++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
|
@@ -2629,6 +2629,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();
|
|
}
|
|
};
|