diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-08-11 22:08:20 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-08-11 22:08:20 +0200 |
commit | b48651a034339645baf60a8f8ec68f3227af0ea0 (patch) | |
tree | 35bb1dac19d40878f3759f4c37a85f45e0cbb9a2 /source/Blocks/BlockTorch.h | |
parent | Merge pull request #74 from tigerw/master (diff) | |
download | cuberite-b48651a034339645baf60a8f8ec68f3227af0ea0.tar cuberite-b48651a034339645baf60a8f8ec68f3227af0ea0.tar.gz cuberite-b48651a034339645baf60a8f8ec68f3227af0ea0.tar.bz2 cuberite-b48651a034339645baf60a8f8ec68f3227af0ea0.tar.lz cuberite-b48651a034339645baf60a8f8ec68f3227af0ea0.tar.xz cuberite-b48651a034339645baf60a8f8ec68f3227af0ea0.tar.zst cuberite-b48651a034339645baf60a8f8ec68f3227af0ea0.zip |
Diffstat (limited to 'source/Blocks/BlockTorch.h')
-rw-r--r-- | source/Blocks/BlockTorch.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source/Blocks/BlockTorch.h b/source/Blocks/BlockTorch.h index f774e15a0..99c1a7b75 100644 --- a/source/Blocks/BlockTorch.h +++ b/source/Blocks/BlockTorch.h @@ -109,17 +109,10 @@ public: static bool CanBePlacedOn(BLOCKTYPE a_BlockType, char a_Direction) { - //case E_BLOCK_GLASS: - //case E_BLOCK_FENCE: - //case E_BLOCK_NETHER_BRICK_FENCE: - //case E_BLOCK_PISTON: - //case E_BLOCK_IRON_BARS if ( g_BlockIsSolid[a_BlockType] ) { return (a_Direction == 0x1); // allow only direction "standing on floor" } else { - //default: - //{ return g_BlockIsSolid[a_BlockType]; } } |