mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 21:19:44 +00:00
Fix for not-placing action blocks
This commit is contained in:
parent
473f5ec01e
commit
3ab149cf58
1 changed files with 1 additions and 4 deletions
|
|
@ -258,10 +258,7 @@ class BlockAPI{
|
||||||
}
|
}
|
||||||
|
|
||||||
if($cancelPlace === true){
|
if($cancelPlace === true){
|
||||||
$this->cancelAction($target);
|
return false;
|
||||||
BlockFace::setPosition($data, $data["face"]);
|
|
||||||
$target = $this->server->api->level->getBlock($data["x"], $data["y"], $data["z"]);
|
|
||||||
return $this->cancelAction($target);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$replace = false;
|
$replace = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue