From 3ab149cf5813a4942228f463c94c1c9433f83771 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Pueyo Date: Sat, 29 Dec 2012 13:58:33 +0100 Subject: [PATCH] Fix for not-placing action blocks --- src/API/BlockAPI.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/API/BlockAPI.php b/src/API/BlockAPI.php index 721c9dfe6..f61228587 100644 --- a/src/API/BlockAPI.php +++ b/src/API/BlockAPI.php @@ -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;