mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-19 04:15:04 +00:00
Block: add onPostPlace() hook
This commit is contained in:
@@ -1863,6 +1863,7 @@ class World implements ChunkManager, Metadatable{
|
||||
//TODO: seal this up inside block placement
|
||||
$tile->copyDataFromItem($item);
|
||||
}
|
||||
$hand->onPostPlace();
|
||||
|
||||
if($playSound){
|
||||
$this->addSound($hand, new BlockPlaceSound($hand));
|
||||
|
Reference in New Issue
Block a user