mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Fixed slabs again
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user