diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-01-01 03:48:26 +0100 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-01-01 03:48:26 +0100 |
commit | 4f176ee68548d5d7aa9559ed745a5bc93e35791c (patch) | |
tree | 3965a843bc64d3e79133df1163812f56f7e13994 | |
parent | Made a couple of functions in cChunk inline, this should speed up several block operations on chunks (diff) | |
download | cuberite-4f176ee68548d5d7aa9559ed745a5bc93e35791c.tar cuberite-4f176ee68548d5d7aa9559ed745a5bc93e35791c.tar.gz cuberite-4f176ee68548d5d7aa9559ed745a5bc93e35791c.tar.bz2 cuberite-4f176ee68548d5d7aa9559ed745a5bc93e35791c.tar.lz cuberite-4f176ee68548d5d7aa9559ed745a5bc93e35791c.tar.xz cuberite-4f176ee68548d5d7aa9559ed745a5bc93e35791c.tar.zst cuberite-4f176ee68548d5d7aa9559ed745a5bc93e35791c.zip |
-rw-r--r-- | source/cClientHandle.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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:
|