From 4f176ee68548d5d7aa9559ed745a5bc93e35791c Mon Sep 17 00:00:00 2001 From: faketruth Date: Sun, 1 Jan 2012 02:48:26 +0000 Subject: [PATCH] Chests, furnaces and dispensers face the correct way now. http://mc-server.org/support/index.php?do=details&task_id=88 git-svn-id: http://mc-server.googlecode.com/svn/trunk@159 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cClientHandle.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/cClientHandle.cpp b/source/cClientHandle.cpp index 6f38a1f27..b90f50c72 100644 --- a/source/cClientHandle.cpp +++ b/source/cClientHandle.cpp @@ -959,6 +959,11 @@ void cClientHandle::HandlePacket( cPacket* a_Packet ) isDoor = true; } break; + case E_BLOCK_CHEST: + case E_BLOCK_FURNACE: + case E_BLOCK_DISPENSER: + MetaData = cPiston::RotationPitchToMetaData( m_Player->GetRotation(), 0 ); // Same orientation as pistons, just ignore pitch + break; case E_BLOCK_COBBLESTONE_STAIRS: case E_BLOCK_BRICK_STAIRS: case E_BLOCK_STONE_BRICK_STAIRS: