2018-09-15 11:16:42 +02:00
|
|
|
--- a/net/minecraft/server/EntityThrownTrident.java
|
|
|
|
+++ b/net/minecraft/server/EntityThrownTrident.java
|
2020-06-25 02:00:00 +02:00
|
|
|
@@ -132,7 +132,7 @@
|
2018-09-15 11:16:42 +02:00
|
|
|
|
2020-06-25 02:00:00 +02:00
|
|
|
entitylightning.c(Vec3D.c((BaseBlockPosition) blockposition));
|
2018-09-15 11:16:42 +02:00
|
|
|
entitylightning.d(entity1 instanceof EntityPlayer ? (EntityPlayer) entity1 : null);
|
2020-06-25 02:00:00 +02:00
|
|
|
- this.world.addEntity(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;
|
|
|
|
}
|