mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue