2018-09-15 11:16:42 +02:00
|
|
|
--- a/net/minecraft/server/EntityThrownTrident.java
|
|
|
|
+++ b/net/minecraft/server/EntityThrownTrident.java
|
2019-12-10 23:00:00 +01:00
|
|
|
@@ -131,7 +131,7 @@
|
2018-09-15 11:16:42 +02:00
|
|
|
EntityLightning entitylightning = new EntityLightning(this.world, (double) blockposition.getX() + 0.5D, (double) blockposition.getY(), (double) blockposition.getZ() + 0.5D, false);
|
|
|
|
|
|
|
|
entitylightning.d(entity1 instanceof EntityPlayer ? (EntityPlayer) entity1 : null);
|
2019-04-23 04:00:00 +02:00
|
|
|
- ((WorldServer) this.world).strikeLightning(entitylightning);
|
2018-09-15 11:16:42 +02:00
|
|
|
+ ((WorldServer) this.world).strikeLightning(entitylightning, org.bukkit.event.weather.LightningStrikeEvent.Cause.TRIDENT); // CraftBukkit
|
|
|
|
soundeffect = SoundEffects.ITEM_TRIDENT_THUNDER;
|
|
|
|
f1 = 5.0F;
|
|
|
|
}
|