mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-10 13:35:29 +00:00
Fixed #305 Made BlockAPI check for flowable blocks instead of transparent blocks [gh#305]
This commit is contained in:
parent
450b5d9560
commit
b564868467
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user