summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasy98 <masy@antheruscraft.de>2014-09-27 14:23:58 +0200
committerMasy98 <masy@antheruscraft.de>2014-09-27 14:23:58 +0200
commit485bac281880e5828a8359b0197608f9bb964bb7 (patch)
tree853f3fd50de20526a3c319d5c98009904621f43c
parentFixed convertToPickups for doors (diff)
downloadcuberite-485bac281880e5828a8359b0197608f9bb964bb7.tar
cuberite-485bac281880e5828a8359b0197608f9bb964bb7.tar.gz
cuberite-485bac281880e5828a8359b0197608f9bb964bb7.tar.bz2
cuberite-485bac281880e5828a8359b0197608f9bb964bb7.tar.lz
cuberite-485bac281880e5828a8359b0197608f9bb964bb7.tar.xz
cuberite-485bac281880e5828a8359b0197608f9bb964bb7.tar.zst
cuberite-485bac281880e5828a8359b0197608f9bb964bb7.zip
Diffstat (limited to '')
-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
}