summaryrefslogtreecommitdiffstats
path: root/src/Items
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-03-05 23:12:48 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-03-05 23:12:48 +0100
commit53231bebd650b9398060cee1434ad4c44152d36e (patch)
tree018e79175daa3664668512ad01b6d7f55d639d34 /src/Items
parentFixed MSVC warnings in DeprecatedBindings. (diff)
downloadcuberite-53231bebd650b9398060cee1434ad4c44152d36e.tar
cuberite-53231bebd650b9398060cee1434ad4c44152d36e.tar.gz
cuberite-53231bebd650b9398060cee1434ad4c44152d36e.tar.bz2
cuberite-53231bebd650b9398060cee1434ad4c44152d36e.tar.lz
cuberite-53231bebd650b9398060cee1434ad4c44152d36e.tar.xz
cuberite-53231bebd650b9398060cee1434ad4c44152d36e.tar.zst
cuberite-53231bebd650b9398060cee1434ad4c44152d36e.zip
Diffstat (limited to 'src/Items')
-rw-r--r--src/Items/ItemLighter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Items/ItemLighter.h b/src/Items/ItemLighter.h
index cc7daeb08..a828cd4fa 100644
--- a/src/Items/ItemLighter.h
+++ b/src/Items/ItemLighter.h
@@ -34,8 +34,8 @@ public:
{
// Activate the TNT:
a_World->BroadcastSoundEffect("game.tnt.primed", a_BlockX * 8, a_BlockY * 8, a_BlockZ * 8, 0.5f, 0.6f);
- a_World->SpawnPrimedTNT(a_BlockX + 0.5, a_BlockY + 0.5, a_BlockZ + 0.5, 4); // 4 seconds to boom
a_World->SetBlock(a_BlockX,a_BlockY,a_BlockZ, E_BLOCK_AIR, 0);
+ a_World->SpawnPrimedTNT(a_BlockX + 0.5, a_BlockY + 0.5, a_BlockZ + 0.5, 4); // 4 seconds to boom
break;
}
default: