ForgePatch/patches/common/net/minecraft/src/Explosion.java.patch

11 lines
801 B
Diff

--- ../src_base/common/net/minecraft/src/Explosion.java
+++ ../src_work/common/net/minecraft/src/Explosion.java
@@ -82,7 +82,7 @@
if (var25 > 0)
{
Block var26 = Block.blocksList[var25];
- float var27 = this.exploder != null ? this.exploder.func_82146_a(this, var26, var22, var23, var24) : var26.getExplosionResistance(this.exploder);
+ float var27 = this.exploder != null ? this.exploder.func_82146_a(this, var26, var22, var23, var24) : var26.getExplosionResistance(this.exploder, worldObj, var22, var23, var24, explosionX, explosionY, explosionZ);
var14 -= (var27 + 0.3F) * var21;
}