summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-08-13 16:44:10 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-08-13 16:44:10 +0200
commitf5b9f5f41c70966d13200ac7e1474064a3f2bc45 (patch)
tree159b092f52497fa6be6a9b9ad7d61c019dbe6d69
parentRemoved unneeded case clause (diff)
downloadcuberite-f5b9f5f41c70966d13200ac7e1474064a3f2bc45.tar
cuberite-f5b9f5f41c70966d13200ac7e1474064a3f2bc45.tar.gz
cuberite-f5b9f5f41c70966d13200ac7e1474064a3f2bc45.tar.bz2
cuberite-f5b9f5f41c70966d13200ac7e1474064a3f2bc45.tar.lz
cuberite-f5b9f5f41c70966d13200ac7e1474064a3f2bc45.tar.xz
cuberite-f5b9f5f41c70966d13200ac7e1474064a3f2bc45.tar.zst
cuberite-f5b9f5f41c70966d13200ac7e1474064a3f2bc45.zip
-rw-r--r--source/Blocks/BlockTorch.h7
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];
}
}