mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 12:02:36 +01:00
b3a8254758
By: md_5 <git@md-5.net>
11 lines
655 B
Diff
11 lines
655 B
Diff
--- a/net/minecraft/world/entity/projectile/EntityThrownTrident.java
|
|
+++ b/net/minecraft/world/entity/projectile/EntityThrownTrident.java
|
|
@@ -157,7 +157,7 @@
|
|
|
|
entitylightning.d(Vec3D.c((BaseBlockPosition) blockposition));
|
|
entitylightning.b(entity1 instanceof EntityPlayer ? (EntityPlayer) entity1 : null);
|
|
- this.level.addEntity(entitylightning);
|
|
+ ((WorldServer) this.level).strikeLightning(entitylightning, org.bukkit.event.weather.LightningStrikeEvent.Cause.TRIDENT); // CraftBukkit
|
|
soundeffect = SoundEffects.TRIDENT_THUNDER;
|
|
f1 = 5.0F;
|
|
}
|