mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-17 04:06:54 +00:00
Fix for not-placing action blocks
This commit is contained in:
@@ -258,10 +258,7 @@ class BlockAPI{
|
||||
}
|
||||
|
||||
if($cancelPlace === true){
|
||||
$this->cancelAction($target);
|
||||
BlockFace::setPosition($data, $data["face"]);
|
||||
$target = $this->server->api->level->getBlock($data["x"], $data["y"], $data["z"]);
|
||||
return $this->cancelAction($target);
|
||||
return false;
|
||||
}
|
||||
|
||||
$replace = false;
|
||||
|
Reference in New Issue
Block a user