mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-09 15:29:47 +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);
|
$result = $item->onClickAir($this, $directionVector);
|
||||||
if($result !== ItemUseResult::SUCCESS()){
|
if($result === ItemUseResult::FAIL()){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user