diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-06-14 23:01:09 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-06-14 23:01:09 +0200 |
commit | f8c7efdcd762aeb261baacb304be9b4e07df2744 (patch) | |
tree | c109952be3e074e77cdec98c055b21bfcab32aea /src/Blocks | |
parent | Fixed tigers format string (diff) | |
parent | implemented DoesIgnoreBuildCollision on BlockFire to allow blocks to be placed on top (diff) | |
download | cuberite-f8c7efdcd762aeb261baacb304be9b4e07df2744.tar cuberite-f8c7efdcd762aeb261baacb304be9b4e07df2744.tar.gz cuberite-f8c7efdcd762aeb261baacb304be9b4e07df2744.tar.bz2 cuberite-f8c7efdcd762aeb261baacb304be9b4e07df2744.tar.lz cuberite-f8c7efdcd762aeb261baacb304be9b4e07df2744.tar.xz cuberite-f8c7efdcd762aeb261baacb304be9b4e07df2744.tar.zst cuberite-f8c7efdcd762aeb261baacb304be9b4e07df2744.zip |
Diffstat (limited to 'src/Blocks')
-rw-r--r-- | src/Blocks/BlockFire.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Blocks/BlockFire.h b/src/Blocks/BlockFire.h index 2038df94b..ec752885a 100644 --- a/src/Blocks/BlockFire.h +++ b/src/Blocks/BlockFire.h @@ -217,6 +217,11 @@ public: return (FoundFrameZP && FoundFrameZM); } + + virtual bool DoesIgnoreBuildCollision(cPlayer * a_Player, NIBBLETYPE a_Meta) override + { + return true; + } }; |