1
0

Fixed piston placement.

FS #293

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1160 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com 2013-01-20 09:12:56 +00:00
parent 7632b5ed62
commit bb36b8d511

View File

@ -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;
}