summaryrefslogtreecommitdiffstats
path: root/source/Blocks
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-09 20:36:53 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-09 20:36:53 +0200
commite0c649dcc40f13f146abcae5e8262252cc7b53e1 (patch)
tree158328724cc4915b29cb1a1c5399fc9bf4a6e534 /source/Blocks
parentAdded a few changes [SEE DESC] (diff)
downloadcuberite-e0c649dcc40f13f146abcae5e8262252cc7b53e1.tar
cuberite-e0c649dcc40f13f146abcae5e8262252cc7b53e1.tar.gz
cuberite-e0c649dcc40f13f146abcae5e8262252cc7b53e1.tar.bz2
cuberite-e0c649dcc40f13f146abcae5e8262252cc7b53e1.tar.lz
cuberite-e0c649dcc40f13f146abcae5e8262252cc7b53e1.tar.xz
cuberite-e0c649dcc40f13f146abcae5e8262252cc7b53e1.tar.zst
cuberite-e0c649dcc40f13f146abcae5e8262252cc7b53e1.zip
Diffstat (limited to '')
-rw-r--r--source/Blocks/BlockDropSpenser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Blocks/BlockDropSpenser.h b/source/Blocks/BlockDropSpenser.h
index e5572da8a..b7f20825d 100644
--- a/source/Blocks/BlockDropSpenser.h
+++ b/source/Blocks/BlockDropSpenser.h
@@ -31,7 +31,7 @@ public:
a_BlockType = m_BlockType;
// FIXME: Do not use cPiston class for dispenser placement!
- a_BlockMeta = cPiston::RotationPitchToMetaData(a_Player->GetRotation(), 0);
+ a_BlockMeta = cPiston::RotationPitchToMetaData(a_Player->GetRotation(), a_Player->GetPitch());
return true;
}
} ;