Fixed slabs again

This commit is contained in:
Dylan K. Taylor
2017-10-24 10:23:07 +01:00
parent 0df3b00de4
commit 716c1f29b4
3 changed files with 17 additions and 13 deletions

View File

@ -1793,10 +1793,10 @@ class Level implements ChunkManager, Metadatable{
return false;
}
if($hand->canBePlacedAt($blockClicked, $facePos)){
if($hand->canBePlacedAt($blockClicked, $facePos, $face, true)){
$blockReplace = $blockClicked;
$hand->position($blockReplace);
}elseif(!$hand->canBePlacedAt($blockReplace, $facePos)){
}elseif(!$hand->canBePlacedAt($blockReplace, $facePos, $face, false)){
return false;
}