diff options
author | Technus <daniel112092@gmail.com> | 2017-05-01 08:18:30 +0200 |
---|---|---|
committer | Technus <daniel112092@gmail.com> | 2017-05-01 08:18:30 +0200 |
commit | c12e474c23ca02fb3479312850f6ae07e623d8b9 (patch) | |
tree | e75fc655599f6b4e853565a4f02c5d72775504b0 /src/main/java/gregtech/api/interfaces | |
parent | 1bafd2ad55c65b090f561289102f69f55f74f45c (diff) | |
download | GT5-Unofficial-c12e474c23ca02fb3479312850f6ae07e623d8b9.tar.gz GT5-Unofficial-c12e474c23ca02fb3479312850f6ae07e623d8b9.tar.bz2 GT5-Unofficial-c12e474c23ca02fb3479312850f6ae07e623d8b9.zip |
Oil and pollution overhaul
Diffstat (limited to 'src/main/java/gregtech/api/interfaces')
-rw-r--r-- | src/main/java/gregtech/api/interfaces/tileentity/IEnergyConnected.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/gregtech/api/interfaces/tileentity/IEnergyConnected.java b/src/main/java/gregtech/api/interfaces/tileentity/IEnergyConnected.java index 3762713fa3..f3790eff8a 100644 --- a/src/main/java/gregtech/api/interfaces/tileentity/IEnergyConnected.java +++ b/src/main/java/gregtech/api/interfaces/tileentity/IEnergyConnected.java @@ -108,7 +108,7 @@ public interface IEnergyConnected extends IColoredTileEntity, IHasWorldObjectAnd tWorld.setBlock(tX, tY, tZ, Blocks.air); if (GregTech_API.sMachineExplosions) if(GT_Mod.gregtechproxy.mPollution) - GT_Pollution.addPollution(tWorld,new ChunkPosition(tX, tY, tZ), 100000); + GT_Pollution.addPollution(tWorld.getChunkFromBlockCoords(tX,tZ), 100000); tWorld.createExplosion(null, tX + 0.5, tY + 0.5, tZ + 0.5, tStrength, true); } } |