Skip to content

Commit

Permalink
fix(world): fix BlockTillableComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
PMK744 committed Sep 23, 2024
1 parent 95515e7 commit 6f29dd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/world/src/components/block/tillable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class BlockTillableComponent extends BlockComponent {
const growth = above.hasComponent("minecraft:growth");

// Destroy the block above if it has a growth component.
if (growth) above.destroy(player);
if (growth) above.destroy({ player });

return true;
}
Expand Down

0 comments on commit 6f29dd3

Please sign in to comment.