mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-04 14:04:49 +01:00
afbaa18bf6
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 Bukkit Changes: c9b35cdb PR-684: Make PotionEffectType implement Keyed CraftBukkit Changes: c86a3f7a PR-959: Fix World#refreshChunk af8a8b70 PR-962: Make PotionEffectType implement Keyed Spigot Changes: 7514aa37 SPIGOT-6806: Add setting to disable new chunks generation under existing chunks
19 lines
965 B
Diff
19 lines
965 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 eea11a2bf87d409f484f07f207c57c864079e43d..b08bca3111a70edd329aac26b6f2763925081b60 100644
|
|
--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
|
+++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
|
@@ -2003,6 +2003,7 @@ public class CraftWorld extends CraftRegionAccessor implements World {
|
|
lightning.moveTo( loc.getX(), loc.getY(), loc.getZ() );
|
|
lightning.visualOnly = true;
|
|
lightning.isSilent = isSilent;
|
|
+ world.strikeLightning( lightning );
|
|
return (LightningStrike) lightning.getBukkitEntity();
|
|
}
|
|
};
|