summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockDropSpenser.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-05-25 14:46:34 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-05-25 14:46:34 +0200
commitee929793f09c431693e1bef7edd77213ba412f60 (patch)
tree566189dcea2b6cac9d3bd2958026b9ad9a264027 /src/Blocks/BlockDropSpenser.h
parentUpdated Core (diff)
downloadcuberite-ee929793f09c431693e1bef7edd77213ba412f60.tar
cuberite-ee929793f09c431693e1bef7edd77213ba412f60.tar.gz
cuberite-ee929793f09c431693e1bef7edd77213ba412f60.tar.bz2
cuberite-ee929793f09c431693e1bef7edd77213ba412f60.tar.lz
cuberite-ee929793f09c431693e1bef7edd77213ba412f60.tar.xz
cuberite-ee929793f09c431693e1bef7edd77213ba412f60.tar.zst
cuberite-ee929793f09c431693e1bef7edd77213ba412f60.zip
Diffstat (limited to 'src/Blocks/BlockDropSpenser.h')
-rw-r--r--src/Blocks/BlockDropSpenser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Blocks/BlockDropSpenser.h b/src/Blocks/BlockDropSpenser.h
index 88b61a418..e2b3039fd 100644
--- a/src/Blocks/BlockDropSpenser.h
+++ b/src/Blocks/BlockDropSpenser.h
@@ -5,7 +5,7 @@
#pragma once
-#include "../Piston.h"
+#include "../Blocks/BlockPiston.h"
#include "MetaRotator.h"
@@ -32,7 +32,7 @@ public:
a_BlockType = m_BlockType;
// FIXME: Do not use cPiston class for dispenser placement!
- a_BlockMeta = cPiston::RotationPitchToMetaData(a_Player->GetYaw(), a_Player->GetPitch());
+ a_BlockMeta = cBlockPistonHandler::RotationPitchToMetaData(a_Player->GetYaw(), a_Player->GetPitch());
return true;
}