Merge branch 'master' into tools-refactor

This commit is contained in:
Dylan K. Taylor
2017-12-13 11:26:24 +00:00
2 changed files with 14 additions and 9 deletions

View File

@ -75,7 +75,7 @@ class ItemFrame extends Flowable{
}
public function place(Item $item, Block $blockReplace, Block $blockClicked, int $face, Vector3 $clickVector, Player $player = null) : bool{
if($face === Vector3::SIDE_DOWN or $face === Vector3::SIDE_UP){
if($face === Vector3::SIDE_DOWN or $face === Vector3::SIDE_UP or !$blockClicked->isSolid()){
return false;
}