Nerf pipe explosion. It shouldn't be destroying other blocks.

This commit is contained in:
Christian 2012-11-10 01:50:12 -05:00
parent cbc621550d
commit c1c6ff28c0

View file

@ -196,8 +196,10 @@ public class PipeTransportPower extends PipeTransport {
else
internalNextPower[from.ordinal()] += val;
if (internalNextPower[from.ordinal()] >= MAX_POWER_INTERNAL)
worldObj.createExplosion(null, xCoord, yCoord, zCoord, 2, true);
if (internalNextPower[from.ordinal()] >= MAX_POWER_INTERNAL) {
worldObj.createExplosion(null, xCoord, yCoord, zCoord, 3, false);
worldObj.setBlockWithNotify(xCoord, yCoord, zCoord, 0);
}
}
}