Block Placer can't handle stacks of blocks
nrllewellyn opened this issue ยท 3 comments
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:
- Place a Block Placer
- Put a stack of Cobblestone in the placer
- Activate the block placer
- The block placer uses the full stack of cobblestone, but places a single cobblestone block in the world
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?