mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Placing blocks in an Entity fix *again*
This commit is contained in:
parent
4067aff8e1
commit
aa92e83733
1 changed files with 1 additions and 1 deletions
|
|
@ -407,7 +407,7 @@ class BlockAPI{
|
|||
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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue