Fixed #305 Made BlockAPI check for flowable blocks instead of transparent blocks [gh#305]

This commit is contained in:
Shoghi Cervantes 2013-05-29 23:25:43 +02:00
parent 450b5d9560
commit b564868467

View File

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