summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2015-06-14 23:01:09 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2015-06-14 23:01:09 +0200
commitf8c7efdcd762aeb261baacb304be9b4e07df2744 (patch)
treec109952be3e074e77cdec98c055b21bfcab32aea /src
parentFixed tigers format string (diff)
parentimplemented DoesIgnoreBuildCollision on BlockFire to allow blocks to be placed on top (diff)
downloadcuberite-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')
-rw-r--r--src/Blocks/BlockFire.h5
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;
+ }
};