mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-14 01:39:52 +00:00
Implemented bounding box limits for item placing
This commit is contained in:
parent
49370c21d1
commit
61ce7f11d6
@ -842,10 +842,9 @@ class Level{
|
||||
//$face = -1;
|
||||
}
|
||||
|
||||
//TODO: Implement using Bounding Boxes, all entities
|
||||
/*if($hand->isSolid === true and $player->inBlock($block)){
|
||||
if($hand->isSolid === true and $this->getCollidingEntities($hand->getBoundingBox())){
|
||||
return false; //Entity in block
|
||||
}*/
|
||||
}
|
||||
|
||||
|
||||
if($player instanceof Player){
|
||||
|
Loading…
x
Reference in New Issue
Block a user