summaryrefslogtreecommitdiffstats
path: root/src/Simulator
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-03-20 09:05:53 +0100
committerMattes D <github@xoft.cz>2014-03-20 09:05:53 +0100
commitfe6c03595fb2f45cb2882e4e95672f492a818502 (patch)
tree945436381916f1ac3330654f317f3ddfcb872726 /src/Simulator
parentErrors in Lua don't include the error handler in the stack trace. (diff)
parentAdded braces (diff)
downloadcuberite-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/Simulator')
-rw-r--r--src/Simulator/IncrementalRedstoneSimulator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator.cpp b/src/Simulator/IncrementalRedstoneSimulator.cpp
index 6ace8ade9..92659fab7 100644
--- a/src/Simulator/IncrementalRedstoneSimulator.cpp
+++ b/src/Simulator/IncrementalRedstoneSimulator.cpp
@@ -838,8 +838,8 @@ void cIncrementalRedstoneSimulator::HandleTNT(int a_BlockX, int a_BlockY, int a_
if (AreCoordsPowered(a_BlockX, a_BlockY, a_BlockZ))
{
m_World.BroadcastSoundEffect("game.tnt.primed", a_BlockX * 8, a_BlockY * 8, a_BlockZ * 8, 0.5f, 0.6f);
- m_World.SpawnPrimedTNT(a_BlockX + 0.5, a_BlockY + 0.5, a_BlockZ + 0.5); // 80 ticks to boom
m_World.SetBlock(a_BlockX, a_BlockY, a_BlockZ, E_BLOCK_AIR, 0);
+ m_World.SpawnPrimedTNT(a_BlockX + 0.5, a_BlockY + 0.5, a_BlockZ + 0.5); // 80 ticks to boom
}
}