Skip to content

Commit 26756eb

Browse files
Merge 'minor-next' into 'major-next'
Automatic merge performed by: https://github.com/pmmp/RestrictedActions/actions/runs/23070733650
2 parents b2b52d9 + 12066fe commit 26756eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/block/RespawnAnchor.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ public function onInteract(Item $item, Facing $face, Vector3 $clickVector, ?Play
6969
if($item->getTypeId() === ItemTypeIds::fromBlockTypeId(BlockTypeIds::GLOWSTONE) && $this->charges < self::MAX_CHARGES){
7070
$this->position->getWorld()->setBlock($this->position, $this->setCharges($this->charges + 1));
7171
$this->position->getWorld()->addSound($this->position, new RespawnAnchorChargeSound());
72+
$item->pop();
7273
return true;
7374
}
7475

0 commit comments

Comments
 (0)