diff options
author | Mattes D <github@xoft.cz> | 2014-03-20 09:05:53 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-03-20 09:05:53 +0100 |
commit | fe6c03595fb2f45cb2882e4e95672f492a818502 (patch) | |
tree | 945436381916f1ac3330654f317f3ddfcb872726 /src/Items | |
parent | Errors in Lua don't include the error handler in the stack trace. (diff) | |
parent | Added braces (diff) | |
download | cuberite-fe6c03595fb2f45cb2882e4e95672f492a818502.tar cuberite-fe6c03595fb2f45cb2882e4e95672f492a818502.tar.gz cuberite-fe6c03595fb2f45cb2882e4e95672f492a818502.tar.bz2 cuberite-fe6c03595fb2f45cb2882e4e95672f492a818502.tar.lz cuberite-fe6c03595fb2f45cb2882e4e95672f492a818502.tar.xz cuberite-fe6c03595fb2f45cb2882e4e95672f492a818502.tar.zst cuberite-fe6c03595fb2f45cb2882e4e95672f492a818502.zip |
Diffstat (limited to 'src/Items')
-rw-r--r-- | src/Items/ItemLighter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Items/ItemLighter.h b/src/Items/ItemLighter.h index 2db6c829a..32f49cab6 100644 --- a/src/Items/ItemLighter.h +++ b/src/Items/ItemLighter.h @@ -53,8 +53,8 @@ public: { // Activate the TNT: a_World->BroadcastSoundEffect("game.tnt.primed", a_BlockX * 8, a_BlockY * 8, a_BlockZ * 8, 1.0f, 1.0f); - a_World->SpawnPrimedTNT(a_BlockX + 0.5, a_BlockY + 0.5, a_BlockZ + 0.5); // 80 ticks 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); // 80 ticks to boom break; } default: |