Skip to content

Commit 585dc83

Browse files
ipad54IvanCraft623
andauthored
Fixed anvil placing rotation. (#6375)
Co-authored-by: IvanCraft623 <[email protected]>
1 parent d077bda commit 585dc83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/block/Anvil.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function onInteract(Item $item, int $face, Vector3 $clickVector, ?Player
9191

9292
public function place(BlockTransaction $tx, Item $item, Block $blockReplace, Block $blockClicked, int $face, Vector3 $clickVector, ?Player $player = null) : bool{
9393
if($player !== null){
94-
$this->facing = Facing::rotateY($player->getHorizontalFacing(), true);
94+
$this->facing = Facing::rotateY($player->getHorizontalFacing(), false);
9595
}
9696
return parent::place($tx, $item, $blockReplace, $blockClicked, $face, $clickVector, $player);
9797
}

0 commit comments

Comments
 (0)