1
0

Double slabs are not transparent blocks

Fixes #4630
This commit is contained in:
Alexander Harkness 2021-06-27 15:13:10 +01:00 committed by Tiger Wang
parent ba07db937c
commit 17820b94f6

View File

@ -1003,9 +1003,6 @@ bool cBlockInfo::IsTransparent(const BLOCKTYPE Block)
case E_BLOCK_DAYLIGHT_SENSOR:
case E_BLOCK_DEAD_BUSH:
case E_BLOCK_DETECTOR_RAIL:
case E_BLOCK_DOUBLE_RED_SANDSTONE_SLAB:
case E_BLOCK_DOUBLE_STONE_SLAB:
case E_BLOCK_DOUBLE_WOODEN_SLAB:
case E_BLOCK_DRAGON_EGG:
case E_BLOCK_ENCHANTMENT_TABLE:
case E_BLOCK_END_PORTAL:
@ -1066,7 +1063,6 @@ bool cBlockInfo::IsTransparent(const BLOCKTYPE Block)
case E_BLOCK_POWERED_RAIL:
case E_BLOCK_PUMPKIN_STEM:
case E_BLOCK_PURPLE_SHULKER_BOX:
case E_BLOCK_PURPUR_DOUBLE_SLAB:
case E_BLOCK_PURPUR_SLAB:
case E_BLOCK_PURPUR_STAIRS:
case E_BLOCK_QUARTZ_STAIRS: