Skip to content

Commit

Permalink
shush
Browse files Browse the repository at this point in the history
  • Loading branch information
dktapps authored Nov 14, 2024
1 parent 49dbfaf commit 2998659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/world/World.php
Original file line number Diff line number Diff line change
Expand Up @@ -2183,7 +2183,7 @@ public function useItemOn(Vector3 $vector, Item &$item, int $face, ?Vector3 $cli

$ev->call();
if(!$ev->isCancelled()){
if($ev->useBlock() and $blockClicked->onInteract($item, $face, $clickVector, $player, $returnedItems)){
if($ev->useBlock() && $blockClicked->onInteract($item, $face, $clickVector, $player, $returnedItems)){
return true;
}

Expand Down

0 comments on commit 2998659

Please sign in to comment.