mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 17:36:12 +00:00
Player: fixed bow shooting, closes #2931
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user