diff options
author | Samuel Barney <samjbarney@gmail.com> | 2013-10-30 23:58:18 +0100 |
---|---|---|
committer | Samuel Barney <samjbarney@gmail.com> | 2013-10-30 23:58:18 +0100 |
commit | e2ef23fa5f345b460262a12c3f8ebc4c3d8591b4 (patch) | |
tree | 98c33350ce90eb585ee510e0a4819f219b3b6a11 /source | |
parent | Merge pull request #292 from SamJBarney/MobSpawning (diff) | |
download | cuberite-e2ef23fa5f345b460262a12c3f8ebc4c3d8591b4.tar cuberite-e2ef23fa5f345b460262a12c3f8ebc4c3d8591b4.tar.gz cuberite-e2ef23fa5f345b460262a12c3f8ebc4c3d8591b4.tar.bz2 cuberite-e2ef23fa5f345b460262a12c3f8ebc4c3d8591b4.tar.lz cuberite-e2ef23fa5f345b460262a12c3f8ebc4c3d8591b4.tar.xz cuberite-e2ef23fa5f345b460262a12c3f8ebc4c3d8591b4.tar.zst cuberite-e2ef23fa5f345b460262a12c3f8ebc4c3d8591b4.zip |
Diffstat (limited to 'source')
-rw-r--r-- | source/Blocks/BlockRail.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/Blocks/BlockRail.h b/source/Blocks/BlockRail.h index 0e83b952d..d411c1a24 100644 --- a/source/Blocks/BlockRail.h +++ b/source/Blocks/BlockRail.h @@ -51,6 +51,9 @@ public: } + void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) { cBlockHandler::ConvertToPickups(a_Pickups, 0); } + + virtual bool CanBeAt(int a_RelX, int a_RelY, int a_RelZ, const cChunk & a_Chunk) override { if (a_RelY <= 0) |