From ae4d387f1d7bfec7ca27284c993ff2cb0a593e09 Mon Sep 17 00:00:00 2001 From: Xenoxis Date: Sat, 28 Mar 2020 00:37:32 +0100 Subject: Fix Snow Spawn on Cobblestone Slab (#4564) --- src/BlockInfo.cpp | 1 + src/Blocks/BlockHandler.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/BlockInfo.cpp b/src/BlockInfo.cpp index d17bc9962..7d2ae64a9 100644 --- a/src/BlockInfo.cpp +++ b/src/BlockInfo.cpp @@ -335,6 +335,7 @@ cBlockInfo::cBlockInfoArray::cBlockInfoArray() Info[E_BLOCK_STONE_BRICK_STAIRS ].m_Transparent = true; Info[E_BLOCK_STONE_BUTTON ].m_Transparent = true; Info[E_BLOCK_STONE_PRESSURE_PLATE ].m_Transparent = true; + Info[E_BLOCK_STONE_SLAB ].m_Transparent = true; Info[E_BLOCK_SUGARCANE ].m_Transparent = true; Info[E_BLOCK_TALL_GRASS ].m_Transparent = true; Info[E_BLOCK_TORCH ].m_Transparent = true; diff --git a/src/Blocks/BlockHandler.cpp b/src/Blocks/BlockHandler.cpp index 60241b0ae..a270a45da 100644 --- a/src/Blocks/BlockHandler.cpp +++ b/src/Blocks/BlockHandler.cpp @@ -741,7 +741,7 @@ void Temporary::RegisterAllBlockHandlers(BlockTypeRegistry & aRegistry) {"minecraft:coal_ore", E_BLOCK_COAL_ORE}, {"minecraft:coarse_dirt", E_BLOCK_DIRT}, {"minecraft:cobblestone", E_BLOCK_COBBLESTONE}, - {"minecraft:cobblestone_slab", E_BLOCK_WOODEN_SLAB}, + {"minecraft:cobblestone_slab", E_BLOCK_STONE_SLAB}, {"minecraft:cobblestone_stairs", E_BLOCK_COBBLESTONE_STAIRS}, {"minecraft:cobblestone_wall", E_BLOCK_COBBLESTONE_WALL}, {"minecraft:cobweb", E_BLOCK_COBWEB}, -- cgit v1.2.3