diff options
author | Masy98 <masy@antheruscraft.de> | 2014-12-18 19:32:48 +0100 |
---|---|---|
committer | Masy98 <masy@antheruscraft.de> | 2014-12-18 19:32:48 +0100 |
commit | 706b9181e612410ea99c9d725d3cd448dafb152c (patch) | |
tree | 0d1281525b92566409a3c4a6d0bf8a0e9d5f7dc8 /src/Blocks/BlockRail.h | |
parent | Added Entity Guardian (diff) | |
parent | Merge pull request #1679 from SphinxC0re/master (diff) | |
download | cuberite-706b9181e612410ea99c9d725d3cd448dafb152c.tar cuberite-706b9181e612410ea99c9d725d3cd448dafb152c.tar.gz cuberite-706b9181e612410ea99c9d725d3cd448dafb152c.tar.bz2 cuberite-706b9181e612410ea99c9d725d3cd448dafb152c.tar.lz cuberite-706b9181e612410ea99c9d725d3cd448dafb152c.tar.xz cuberite-706b9181e612410ea99c9d725d3cd448dafb152c.tar.zst cuberite-706b9181e612410ea99c9d725d3cd448dafb152c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Blocks/BlockRail.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Blocks/BlockRail.h b/src/Blocks/BlockRail.h index 21a34d8ce..02fe3aa95 100644 --- a/src/Blocks/BlockRail.h +++ b/src/Blocks/BlockRail.h @@ -98,7 +98,7 @@ public: { return false; } - if (!cBlockInfo::IsSolid(a_Chunk.GetBlock(a_RelX, a_RelY - 1, a_RelZ))) + if (!cBlockInfo::FullyOccupiesVoxel(a_Chunk.GetBlock(a_RelX, a_RelY - 1, a_RelZ))) { return false; } @@ -130,7 +130,7 @@ public: // Too close to the edge, cannot simulate return true; } - return cBlockInfo::IsSolid(BlockType); + return cBlockInfo::FullyOccupiesVoxel(BlockType); } } return true; |