PMF & Multiworld [part 3]

This commit is contained in:
Shoghi Cervantes Pueyo 2013-05-14 20:58:53 +02:00
parent 5938747083
commit 2254e87ce4
10 changed files with 38 additions and 29 deletions

View file

@ -359,7 +359,7 @@ class BlockAPI{
return $this->cancelAction($block, $player);
}
if($hand->isTransparent === false and $player->entity->inBlock($block->x, $block->y, $block->z)){
if($hand->isTransparent === false and $player->entity->inBlock($block)){
return $this->cancelAction($block, $player); //Entity in block
}