OpenBlocks

OpenBlocks

56M Downloads

Block Placer can't handle stacks of blocks

nrllewellyn opened this issue ยท 3 comments

commented

Bug report:

MineCraft Version: 1.6.4
Forge Version: 9.11.1.965
Mod Version: 1.2.2-snapshot (built from commit 187faa5)

Bug Description: When Block Placer is activated, it places one block, but uses an entire stack from its inventory.

How to reproduce the bug:

  1. Place a Block Placer
  2. Put a stack of Cobblestone in the placer
  3. Activate the block placer
  4. The block placer uses the full stack of cobblestone, but places a single cobblestone block in the world
commented

Confirmed, and I think I know why this happens: The fake player gets the whole stack (64 Cobblestone), places one block (intended 1 Cobblestone loss) and then dies with the other blocks in the stack (unintentional loss of 63 Cobblestone). I'm no java or Forge expert, but shouldn't there be a way to "give" the rest of the stack back to the tile-inventory?

commented

Yes and I'm sure it's just an oversight, thanks for the bug report :)

commented

Fixed in opemodslib (builds > 119).