summaryrefslogtreecommitdiffstats
path: root/source/Blocks/BlockPiston.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/Blocks/BlockPiston.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Blocks/BlockPiston.cpp b/source/Blocks/BlockPiston.cpp
index bcd1eb56c..29312e97c 100644
--- a/source/Blocks/BlockPiston.cpp
+++ b/source/Blocks/BlockPiston.cpp
@@ -59,7 +59,7 @@ bool cBlockPistonHandler::GetPlacementBlockTypeMeta(
BLOCKTYPE & a_BlockType, NIBBLETYPE & a_BlockMeta
)
{
- a_BlockType = E_BLOCK_REDSTONE_REPEATER_OFF;
+ a_BlockType = m_BlockType;
a_BlockMeta = cPiston::RotationPitchToMetaData(a_Player->GetRotation(), a_Player->GetPitch());
return true;
}