aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common
diff options
context:
space:
mode:
authordohyun22 <michael0702@naver.com>2017-03-25 18:53:21 +0900
committerGitHub <noreply@github.com>2017-03-25 18:53:21 +0900
commit15db129b1d381045e4eefae8277597cf5a659780 (patch)
tree25cf3a61b21dc90fd62f44d012206082a1b2864b /src/main/java/gregtech/common
parent945a13d4ae4c4f1cd47e481a0f3d3f980e353ae5 (diff)
downloadGT5-Unofficial-15db129b1d381045e4eefae8277597cf5a659780.tar.gz
GT5-Unofficial-15db129b1d381045e4eefae8277597cf5a659780.tar.bz2
GT5-Unofficial-15db129b1d381045e4eefae8277597cf5a659780.zip
simplified the code.
Diffstat (limited to 'src/main/java/gregtech/common')
-rw-r--r--src/main/java/gregtech/common/blocks/GT_Block_Reinforced.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/gregtech/common/blocks/GT_Block_Reinforced.java b/src/main/java/gregtech/common/blocks/GT_Block_Reinforced.java
index 40d2d1a5fe..d7a47c0bb6 100644
--- a/src/main/java/gregtech/common/blocks/GT_Block_Reinforced.java
+++ b/src/main/java/gregtech/common/blocks/GT_Block_Reinforced.java
@@ -216,7 +216,7 @@ public class GT_Block_Reinforced extends GT_Generic_Block {
public boolean removedByPlayer(World world, EntityPlayer player, int x, int y, int z)
{
if(!world.isRemote && world.getBlockMetadata(x, y, z)==5){
- EntityTNTPrimed entitytntprimed = new EntityTNTPrimed(world, x + 0.5F, y + 0.5F, z + 0.5F, player == null ? null : player);
+ EntityTNTPrimed entitytntprimed = new EntityTNTPrimed(world, x + 0.5F, y + 0.5F, z + 0.5F, player);
world.spawnEntityInWorld(entitytntprimed);
world.playSoundAtEntity(entitytntprimed, "game.tnt.primed", 1.0F, 1.0F);