From bb36b8d511515d5a6a709316fddef48ea1cbe627 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 20 Jan 2013 09:12:56 +0000 Subject: Fixed piston placement. FS #293 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1160 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Blocks/BlockPiston.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/Blocks/BlockPiston.cpp') 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; } -- cgit v1.2.3