12 lines
565 B
Diff
12 lines
565 B
Diff
--- ../src-base/minecraft/net/minecraft/entity/effect/EntityLightningBolt.java
|
|
+++ ../src-work/minecraft/net/minecraft/entity/effect/EntityLightningBolt.java
|
|
@@ -104,7 +104,8 @@
|
|
for (int i = 0; i < list.size(); ++i)
|
|
{
|
|
Entity entity = (Entity)list.get(i);
|
|
- entity.func_70077_a(this);
|
|
+ if (!net.minecraftforge.event.ForgeEventFactory.onEntityStruckByLightning(entity, this))
|
|
+ entity.func_70077_a(this);
|
|
}
|
|
}
|
|
}
|