diff --git a/src/API/BlockAPI.php b/src/API/BlockAPI.php index 9e478bd08..b7b5d24a4 100644 --- a/src/API/BlockAPI.php +++ b/src/API/BlockAPI.php @@ -307,6 +307,8 @@ class BlockAPI{ if($target->isActivable === true){ if($this->server->api->dhandle("player.block.activate", array("player" => $player, "block" => $block, "target" => $target, "item" => $item)) !== false and $target->onActivate($item, $player) === true){ return false; + } else { + return $this->cancelAction($target, $player); } }