Player: fixed bow shooting, closes #2931

This commit is contained in:
Dylan K. Taylor 2019-05-24 15:58:00 +01:00
parent 1c99602a3f
commit 9ce1e29a17

View File

@ -1759,7 +1759,7 @@ class Player extends Human implements CommandSender, ChunkLoader, ChunkListener,
}
$result = $item->onClickAir($this, $directionVector);
if($result !== ItemUseResult::SUCCESS()){
if($result === ItemUseResult::FAIL()){
return false;
}