When making double slabs, block IDs are ignored, allowing stone_slab to combine with stone_slab2
Steps to reproduce:
- Grab a sandstone slab and a purpur slab.
- Place the sandstone slab down first and then place the purpur slab on top.
- Notice that it turns into a double sandstone double half slab block.
This also works the other way around, and with placing the top-half slab first & the bottom-half last. It also occurs with stone & red sandstone slabs.
Cause of the bug:
This bug is caused by a mistake in the logic of the function that turns slabs into double slabs when right-clicked with another slab. The code only checks if the block is a "slab" and if it has the same metadata. It does NOT check for whether the block is stone_slab or stone_slab2. This is why this odd slab behavior occurs.
2017-03-13, 07:54 PM
2018-10-13, 02:19 AM
2017-08-01, 12:02 AM
2
3
63215
double-slab, purpur-slab, red-sandstone-slab, sandstone-slab, slab, stone-slab, stone-slab2