mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-29 22:13:42 +01:00
12 lines
626 B
Diff
12 lines
626 B
Diff
--- a/net/minecraft/server/EntityThrownTrident.java
|
|
+++ b/net/minecraft/server/EntityThrownTrident.java
|
|
@@ -132,7 +132,7 @@
|
|
|
|
entitylightning.d(Vec3D.c((BaseBlockPosition) blockposition));
|
|
entitylightning.d(entity1 instanceof EntityPlayer ? (EntityPlayer) entity1 : null);
|
|
- this.world.addEntity(entitylightning);
|
|
+ ((WorldServer) this.world).strikeLightning(entitylightning, org.bukkit.event.weather.LightningStrikeEvent.Cause.TRIDENT); // CraftBukkit
|
|
soundeffect = SoundEffects.ITEM_TRIDENT_THUNDER;
|
|
f1 = 5.0F;
|
|
}
|