diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-01-20 10:12:56 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-01-20 10:12:56 +0100 |
commit | bb36b8d511515d5a6a709316fddef48ea1cbe627 (patch) | |
tree | 0a4a4ac1060e993db52e0ef3dcf934db01e32fe5 | |
parent | Renamed rclk hook to HOOK_PLAYER_RIGHT_CLICK. (diff) | |
download | cuberite-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 |
-rw-r--r-- | source/Blocks/BlockPiston.cpp | 2 |
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;
}
|