Nerf pipe explosion. It shouldn't be destroying other blocks.
This commit is contained in:
parent
cbc621550d
commit
c1c6ff28c0
1 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue