summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockFenceGate.h
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2014-09-27 15:17:13 +0200
committerAlexander Harkness <me@bearbin.net>2014-09-27 15:17:13 +0200
commit4df56fde88b30d9a3f58b7efe8b281a0ca36f42b (patch)
treec7926219388c6ebe41effe4046036c797feb4451 /src/Blocks/BlockFenceGate.h
parentRemoved polarSSL makefile. Fixes #591. (diff)
parentAdded default value to switch and spruce gate to fence gate handler (diff)
downloadcuberite-4df56fde88b30d9a3f58b7efe8b281a0ca36f42b.tar
cuberite-4df56fde88b30d9a3f58b7efe8b281a0ca36f42b.tar.gz
cuberite-4df56fde88b30d9a3f58b7efe8b281a0ca36f42b.tar.bz2
cuberite-4df56fde88b30d9a3f58b7efe8b281a0ca36f42b.tar.lz
cuberite-4df56fde88b30d9a3f58b7efe8b281a0ca36f42b.tar.xz
cuberite-4df56fde88b30d9a3f58b7efe8b281a0ca36f42b.tar.zst
cuberite-4df56fde88b30d9a3f58b7efe8b281a0ca36f42b.zip
Diffstat (limited to 'src/Blocks/BlockFenceGate.h')
-rw-r--r--src/Blocks/BlockFenceGate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockFenceGate.h b/src/Blocks/BlockFenceGate.h
index 3041dd46c..b5c1323bd 100644
--- a/src/Blocks/BlockFenceGate.h
+++ b/src/Blocks/BlockFenceGate.h
@@ -19,7 +19,7 @@ public:
virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
{
- a_Pickups.Add(E_BLOCK_FENCE_GATE, 1, 0); // Reset meta to zero
+ a_Pickups.Add(m_BlockType, 1, 0); // Reset meta to zero
}