summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-12-10 00:43:26 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-12-10 00:43:26 +0100
commitaecdfebf365d462e5405e21f1998e99d50bc1028 (patch)
tree77a8b6faf2d6c7e74187ddc2e5a912590d42df90
parentImproved pickups spawning speed again (diff)
downloadcuberite-aecdfebf365d462e5405e21f1998e99d50bc1028.tar
cuberite-aecdfebf365d462e5405e21f1998e99d50bc1028.tar.gz
cuberite-aecdfebf365d462e5405e21f1998e99d50bc1028.tar.bz2
cuberite-aecdfebf365d462e5405e21f1998e99d50bc1028.tar.lz
cuberite-aecdfebf365d462e5405e21f1998e99d50bc1028.tar.xz
cuberite-aecdfebf365d462e5405e21f1998e99d50bc1028.tar.zst
cuberite-aecdfebf365d462e5405e21f1998e99d50bc1028.zip
-rw-r--r--src/Simulator/RedstoneSimulator.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Simulator/RedstoneSimulator.cpp b/src/Simulator/RedstoneSimulator.cpp
index 63e4f04a8..424e22ca4 100644
--- a/src/Simulator/RedstoneSimulator.cpp
+++ b/src/Simulator/RedstoneSimulator.cpp
@@ -285,7 +285,7 @@ void cRedstoneSimulator::HandleRedstoneTorch(int a_BlockX, int a_BlockY, int a_B
if (AreCoordsPowered(X, Y, Z))
{
// There was a match, torch goes off
- m_World.FastSetBlock(a_BlockX, a_BlockY, a_BlockZ, E_BLOCK_REDSTONE_TORCH_OFF, m_World.GetBlockMeta(a_BlockX, a_BlockY, a_BlockZ));
+ m_World.SetBlock(a_BlockX, a_BlockY, a_BlockZ, E_BLOCK_REDSTONE_TORCH_OFF, m_World.GetBlockMeta(a_BlockX, a_BlockY, a_BlockZ));
return;
}
@@ -335,7 +335,7 @@ void cRedstoneSimulator::HandleRedstoneTorch(int a_BlockX, int a_BlockY, int a_B
}
// Block torch on not powered, can be turned on again!
- m_World.FastSetBlock(a_BlockX, a_BlockY, a_BlockZ, E_BLOCK_REDSTONE_TORCH_ON, m_World.GetBlockMeta(a_BlockX, a_BlockY, a_BlockZ));
+ m_World.SetBlock(a_BlockX, a_BlockY, a_BlockZ, E_BLOCK_REDSTONE_TORCH_ON, m_World.GetBlockMeta(a_BlockX, a_BlockY, a_BlockZ));
}
}
@@ -572,7 +572,7 @@ void cRedstoneSimulator::HandleRedstoneRepeater(int a_BlockX, int a_BlockY, int
{
if (IsOn)
{
- m_World.FastSetBlock(a_BlockX, a_BlockY, a_BlockZ, E_BLOCK_REDSTONE_REPEATER_OFF, a_Meta);
+ m_World.SetBlock(a_BlockX, a_BlockY, a_BlockZ, E_BLOCK_REDSTONE_REPEATER_OFF, a_Meta);
}
}
}