diff options
| author | Martin Robertz <dream-master@gmx.net> | 2018-10-18 19:20:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-18 19:20:32 +0200 |
| commit | a53ca90e7fa20af828e313fd3a82ae211caf0acb (patch) | |
| tree | b7b888d80ad32fec28d8547052f0d7e628accd9c /src/main/java/gregtech/common/blocks | |
| parent | 022d4b6937b12e2075be33ad53f451877a817f29 (diff) | |
| parent | b5529dcc6b0cde98c9f2b97408503136385b569f (diff) | |
| download | GT5-Unofficial-a53ca90e7fa20af828e313fd3a82ae211caf0acb.tar.gz GT5-Unofficial-a53ca90e7fa20af828e313fd3a82ae211caf0acb.tar.bz2 GT5-Unofficial-a53ca90e7fa20af828e313fd3a82ae211caf0acb.zip | |
Merge pull request #151 from GTNewHorizons/bartimaeusnek-fixes
added explosion log
Diffstat (limited to 'src/main/java/gregtech/common/blocks')
| -rw-r--r-- | src/main/java/gregtech/common/blocks/GT_Block_Machines.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/gregtech/common/blocks/GT_Block_Machines.java b/src/main/java/gregtech/common/blocks/GT_Block_Machines.java index e1c11e05df..4d220f6863 100644 --- a/src/main/java/gregtech/common/blocks/GT_Block_Machines.java +++ b/src/main/java/gregtech/common/blocks/GT_Block_Machines.java @@ -334,6 +334,7 @@ public class GT_Block_Machines public void onBlockExploded(World aWorld, int aX, int aY, int aZ, Explosion aExplosion) {
TileEntity tTileEntity = aWorld.getTileEntity(aX, aY, aZ);
if ((tTileEntity instanceof BaseMetaTileEntity)) {
+ GT_Log.exp.println("Explosion at :"+aX + " | " + aY+ " | " + aZ +" DIMID: " + aWorld.provider.dimensionId+ " due to near explosion!");
((BaseMetaTileEntity) tTileEntity).doEnergyExplosion();
}
super.onBlockExploded(aWorld, aX, aY, aZ, aExplosion);
@@ -408,6 +409,7 @@ public class GT_Block_Machines TileEntity tTileEntity = aWorld.getTileEntity(aX, aY, aZ);
if ((tTileEntity != null) && (chance < 1.0F)) {
if (((tTileEntity instanceof BaseMetaTileEntity)) && (GregTech_API.sMachineNonWrenchExplosions)) {
+ GT_Log.exp.println("Explosion at :"+aX + " | " + aY+ " | " + aZ +" DIMID: "+ aWorld.provider.dimensionId+ " due to NonWrench picking/Rain!");
((BaseMetaTileEntity) tTileEntity).doEnergyExplosion();
}
} else {
|
