mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-21 02:16:33 +00:00
Placing blocks in an Entity fix *again*
This commit is contained in:
parent
4067aff8e1
commit
aa92e83733
@ -407,7 +407,7 @@ class BlockAPI{
|
|||||||
return $this->cancelAction($block); //No Entity WTF?
|
return $this->cancelAction($block); //No Entity WTF?
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!isset(Material::$transparent[$block[0]]) and $entity->inBlock($block[2][0], $block[2][1], $block[2][2])){
|
if(!isset(Material::$transparent[$data["block"]]) and $entity->inBlock($block[2][0], $block[2][1], $block[2][2])){
|
||||||
return $this->cancelAction($block); //Entity in block
|
return $this->cancelAction($block); //Entity in block
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user