diff options
author | Technus <daniel112092@gmail.com> | 2017-05-01 09:40:28 +0200 |
---|---|---|
committer | Technus <daniel112092@gmail.com> | 2017-05-01 09:40:28 +0200 |
commit | 80bf3fd2e66db794a7fc2678b080cdcf548ebc51 (patch) | |
tree | c8bc3003627d80b176c5adfc3bb1a0e5c319f20f /src/main/java/gregtech/api | |
parent | bd816f505b29d0bc7efc5a3f03e167ee04f5f4c4 (diff) | |
download | GT5-Unofficial-80bf3fd2e66db794a7fc2678b080cdcf548ebc51.tar.gz GT5-Unofficial-80bf3fd2e66db794a7fc2678b080cdcf548ebc51.tar.bz2 GT5-Unofficial-80bf3fd2e66db794a7fc2678b080cdcf548ebc51.zip |
Not needed.
Diffstat (limited to 'src/main/java/gregtech/api')
-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 9664845091..ff728f57b9 100644 --- a/src/main/java/gregtech/api/metatileentity/MetaPipeEntity.java +++ b/src/main/java/gregtech/api/metatileentity/MetaPipeEntity.java @@ -666,10 +666,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 |