Mojira Archive
MCPE-20378

When making double slabs, block IDs are ignored, allowing stone_slab to combine with stone_slab2

Steps to reproduce:

  1. Grab a sandstone slab and a purpur slab.
  2. Place the sandstone slab down first and then place the purpur slab on top.
  3. 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.

Fixed

[MCPE Mod] Celesian

2017-03-13, 07:54 PM

2018-10-13, 02:19 AM

2017-08-01, 12:02 AM

2

3

Confirmed

63215

double-slab, purpur-slab, red-sandstone-slab, sandstone-slab, slab, stone-slab, stone-slab2

1.0.4.11, 1.0.5.0, 1.1.0.5, 1.1.0.9

1.2.0.2