2021-03-15 23:00:00 +01:00
|
|
|
--- a/net/minecraft/world/entity/projectile/EntityThrownTrident.java
|
|
|
|
+++ b/net/minecraft/world/entity/projectile/EntityThrownTrident.java
|
2021-06-11 07:00:00 +02:00
|
|
|
@@ -157,7 +157,7 @@
|
2018-09-15 11:16:42 +02:00
|
|
|
|
2020-08-11 23:00:00 +02:00
|
|
|
entitylightning.d(Vec3D.c((BaseBlockPosition) blockposition));
|
2021-06-11 07:00:00 +02:00
|
|
|
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;
|
2018-09-15 11:16:42 +02:00
|
|
|
f1 = 5.0F;
|
|
|
|
}
|