mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-09 07:20:15 +00:00
Player: fixed bow shooting, closes #2931
This commit is contained in:
parent
1c99602a3f
commit
9ce1e29a17
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user