mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Fixed double plants and beds sometimes dropping in creative
This commit is contained in:
@ -1666,7 +1666,7 @@ class Level implements ChunkManager, Metadatable{
|
||||
$this->addParticle(new DestroyBlockParticle($target->add(0.5, 0.5, 0.5), $target));
|
||||
}
|
||||
|
||||
$target->onBreak($item);
|
||||
$target->onBreak($item, $player);
|
||||
|
||||
$tile = $this->getTile($target);
|
||||
if($tile !== null){
|
||||
|
Reference in New Issue
Block a user