Closed dktapps closed 1 year ago
This is planned to be fixed for 4.0.
This can be addressed by using the resulting BlockTransaction
produced by Block->place()
. Also, it might be a good idea to provide the transaction to BlockPlaceEvent
directly so that plugins can properly understand stuff like bed placement.
Issue description
In effect,
BlockPlaceEvent->getBlock()
might as well simply alias toBlockPlaceEvent->getItem()->getBlock()
since the resulting set block is unknown beforeBlock->place()
is called.This requires a separation of logic of the block meta determination code from the actual setting the block into the world.
OS and versions
Plugins
This is an API issue.