diff options
author | Technus <daniel112092@gmail.com> | 2017-05-01 09:40:28 +0200 |
---|---|---|
committer | Blood-Asp <bloodasphendrik@gmail.com> | 2017-06-01 13:19:27 +0200 |
commit | a99e0d4ffbed348d229bd86e7777f6d6b6634f7f (patch) | |
tree | 64aab70249e412ff5462a4b3a1e3778aaf9264a4 /src | |
parent | 82458fed2e4c065091f38340ceb05e98f28fc459 (diff) | |
download | GT5-Unofficial-a99e0d4ffbed348d229bd86e7777f6d6b6634f7f.tar.gz GT5-Unofficial-a99e0d4ffbed348d229bd86e7777f6d6b6634f7f.tar.bz2 GT5-Unofficial-a99e0d4ffbed348d229bd86e7777f6d6b6634f7f.zip |
Not needed.
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/gregtech/api/metatileentity/MetaPipeEntity.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/gregtech/api/metatileentity/MetaPipeEntity.java b/src/main/java/gregtech/api/metatileentity/MetaPipeEntity.java index 5edc5751fb..3adf2b618b 100644 --- a/src/main/java/gregtech/api/metatileentity/MetaPipeEntity.java +++ b/src/main/java/gregtech/api/metatileentity/MetaPipeEntity.java @@ -646,10 +646,9 @@ public abstract class MetaPipeEntity implements IMetaTileEntity { int tX = getBaseMetaTileEntity().getXCoord(), tY = getBaseMetaTileEntity().getYCoord(), tZ = getBaseMetaTileEntity().getZCoord(); World tWorld = getBaseMetaTileEntity().getWorld(); tWorld.setBlock(tX, tY, tZ, Blocks.air); - if (GregTech_API.sMachineExplosions) - if(GT_Mod.gregtechproxy.mPollution) - GT_Pollution.addPollution(getBaseMetaTileEntity(), 100000); + if (GregTech_API.sMachineExplosions) { tWorld.createExplosion(null, tX + 0.5, tY + 0.5, tZ + 0.5, tStrength, true); + } } @Override |