summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-06 23:17:36 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-06 23:17:36 +0100
commitbae54ee7bd507f4dde672069f44101ffbcb1656a (patch)
tree0286919c9e084b827d90c15bf6be1a155a577562
parentAdded a little documentation on ChunkSender. (diff)
downloadcuberite-bae54ee7bd507f4dde672069f44101ffbcb1656a.tar
cuberite-bae54ee7bd507f4dde672069f44101ffbcb1656a.tar.gz
cuberite-bae54ee7bd507f4dde672069f44101ffbcb1656a.tar.bz2
cuberite-bae54ee7bd507f4dde672069f44101ffbcb1656a.tar.lz
cuberite-bae54ee7bd507f4dde672069f44101ffbcb1656a.tar.xz
cuberite-bae54ee7bd507f4dde672069f44101ffbcb1656a.tar.zst
cuberite-bae54ee7bd507f4dde672069f44101ffbcb1656a.zip
Diffstat (limited to '')
-rw-r--r--source/cRedstoneSimulator.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/cRedstoneSimulator.cpp b/source/cRedstoneSimulator.cpp
index be93c6338..652d5a943 100644
--- a/source/cRedstoneSimulator.cpp
+++ b/source/cRedstoneSimulator.cpp
@@ -335,6 +335,7 @@ void cRedstoneSimulator::HandleChange( const Vector3i & a_BlockPos )
switch( Block )
{
case E_BLOCK_PISTON:
+ case E_BLOCK_STICKY_PISTON:
if( IsPowered( pos ) )
{
cPiston Piston( m_World );
@@ -371,6 +372,7 @@ bool cRedstoneSimulator::PowerBlock( const Vector3i & a_BlockPos, const Vector3i
}
break;
case E_BLOCK_PISTON:
+ case E_BLOCK_STICKY_PISTON:
{
m_RefreshPistons.push_back( a_BlockPos );
}
@@ -419,6 +421,7 @@ int cRedstoneSimulator::UnPowerBlock( const Vector3i & a_BlockPos, const Vector3
}
break;
case E_BLOCK_PISTON:
+ case E_BLOCK_STICKY_PISTON:
{
m_RefreshPistons.push_back( a_BlockPos );
}