summaryrefslogtreecommitdiffstats
path: root/source/Blocks
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-01-20 10:12:56 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-01-20 10:12:56 +0100
commitbb36b8d511515d5a6a709316fddef48ea1cbe627 (patch)
tree0a4a4ac1060e993db52e0ef3dcf934db01e32fe5 /source/Blocks
parentRenamed rclk hook to HOOK_PLAYER_RIGHT_CLICK. (diff)
downloadcuberite-bb36b8d511515d5a6a709316fddef48ea1cbe627.tar
cuberite-bb36b8d511515d5a6a709316fddef48ea1cbe627.tar.gz
cuberite-bb36b8d511515d5a6a709316fddef48ea1cbe627.tar.bz2
cuberite-bb36b8d511515d5a6a709316fddef48ea1cbe627.tar.lz
cuberite-bb36b8d511515d5a6a709316fddef48ea1cbe627.tar.xz
cuberite-bb36b8d511515d5a6a709316fddef48ea1cbe627.tar.zst
cuberite-bb36b8d511515d5a6a709316fddef48ea1cbe627.zip
Diffstat (limited to 'source/Blocks')
-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;
}