Adorn (Forge)

Adorn (Forge)

6M Downloads

chairs drop 2 chairs when bottom block broken

Linguardium opened this issue ยท 0 comments

commented

Versions of Minecraft, Fabric and Adorn

  • Adorn: 1.9.1
  • Minecraft: 1.16.1
  • Fabric Loader: 0.8.9
  • Fabric API: 0.15

Describe the bug

breaking the chair's bottom block drops 2 chairs

To Reproduce

Steps to reproduce the behavior:
place chair
break chair's bottom half
get 2 chairs

Expected behavior

only drop 1 chair

Additional context (Optional)

may have something to do with

dropStacks(state, world, pos, null, player, player.mainHandStack)

the fact that there are 2 dropstacks (one for each half), not sure though. breaking the top half does not seem to cause the same issue
vanilla doors call TallPlantBlock.method_30036 which seems to handle replacing the other half with air in certain circumstances