geforkt von Mirrors/Paper
88ab784da0
Upstream has released updates that appear to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing CraftBukkit Changes: 28d72c4bd SPIGOT-6428: World.generateTree does not generate bee nests
20 Zeilen
944 B
Diff
20 Zeilen
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 03761fd7367e184c808f4ef55bdef0838f7427b0..68445b7f32d2cf4c199666a732a36e02459a7b60 100644
|
|
--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
|
+++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
|
@@ -2627,6 +2627,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();
|
|
}
|
|
};
|