mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 10:46:05 +03:00
12 lines
552 B
Diff
12 lines
552 B
Diff
--- ../src-base/minecraft/net/minecraftforge/event/ForgeEventFactory.java
|
|
+++ ../src-work/minecraft/net/minecraftforge/event/ForgeEventFactory.java
|
|
@@ -476,7 +476,7 @@
|
|
{
|
|
Entity e = itr.next();
|
|
double dist = e.getDistance(p.xCoord, p.yCoord, p.zCoord) / diameter;
|
|
- if (e.func_180427_aV() || dist > 1.0F) itr.remove();
|
|
+ if (e.isImmuneToExplosions() || dist > 1.0F) itr.remove();
|
|
}
|
|
*/
|
|
MinecraftForge.EVENT_BUS.post(new ExplosionEvent.Detonate(world, explosion, list));
|