diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index 085bb29a15..abe22b2d9a 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftWorld.java @@ -2092,6 +2092,18 @@ public class CraftWorld extends CraftRegionAccessor implements World { // Spigot start private final org.bukkit.World.Spigot spigot = new org.bukkit.World.Spigot() { + + @Override + public LightningStrike strikeLightning(Location loc, boolean isSilent) + { + return CraftWorld.this.strikeLightning(loc); + } + + @Override + public LightningStrike strikeLightningEffect(Location loc, boolean isSilent) + { + return CraftWorld.this.strikeLightningEffect(loc); + } }; public org.bukkit.World.Spigot spigot() diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftLightningStrike.java b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftLightningStrike.java index 2ab50d18a5..0b2ba5c933 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftLightningStrike.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftLightningStrike.java @@ -54,6 +54,11 @@ public class CraftLightningStrike extends CraftEntity implements LightningStrike // Spigot start private final LightningStrike.Spigot spigot = new LightningStrike.Spigot() { + @Override + public boolean isSilent() + { + return false; + } }; @Override